I have created a Vue app and following the cookbook I have made the docker image and it runs just fine, the problem is that I use Vue Qrcode Reader and in the TroubleShooting, it says that for me to use the app from my cellphone it has to be secured through HTTPS i have little to no knowledge on what to do.
This is my docker File:
# etapa de compilación FROM node:current-alpine as build-stage WORKDIR app COPY package.json . RUN npm install COPY . . RUN npm run build # etapa de producción FROM nginx:1.19.2-alpine as production-stage COPY --from=build-stage /app/dist /usr/share/nginx/html EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]
I use Nginx to serve my application so the approach i that i consider is to configure the nginx server to make the connection secure?
Source: Docker Questions