From 45f68228ec6f4101f28e4d77b674a1d814393513 Mon Sep 17 00:00:00 2001
From: henridb <henridb@stud.ntnu.no>
Date: Thu, 2 May 2024 21:06:28 +0200
Subject: [PATCH] fix: fix 14

---
 Dockerfile | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index a3c7312..08944c1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,15 +1,14 @@
 # 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
-- 
GitLab