Skip to content
Snippets Groups Projects
Commit 45f68228 authored by Henrik's avatar Henrik
Browse files

fix: fix 14

parent 9a0095be
No related branches found
No related tags found
1 merge request!91Feat/deployment
Pipeline #283756 passed
# Step 1: Build your Vue application
FROM node:16 as build-stage
FROM node:16.10.0-alpine3.13 as build-stage
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
# Step 2: Setup the server with Nginx
#FROM nginx:stable-alpine as production-stage
#COPY --from=build-stage /app/dist /usr/share/nginx/html
#COPY web/nginx.conf /etc/nginx/nginx.conf
FROM nginx:stable-alpine as production-stage
COPY --from=build-stage /app/dist /usr/share/nginx/html
COPY web/nginx.conf /etc/nginx/nginx.conf
#CMD ["nginx", "-g", "daemon off;"]
\ No newline at end of file
CMD ["nginx", "-g", "daemon off;"]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment