When building production (npm run build) of my vue.js project - everything works fine locally when I'm simply opening .html file
When building it with nginx for production - something goes wrong and only one page stops working.
I've tried two different Dockerfiles but result is the same
FROM node:lts-alpine as build-stage
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
# production stage
FROM nginx:stable-alpine as production-stage
COPY --from=build-stage /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]