From 7d20367e94abcf94b95f144611847e193bedef55 Mon Sep 17 00:00:00 2001
From: Guillaume Schurck <g.schurck@gmail.com>
Date: Thu, 19 Jan 2023 14:33:18 +0100
Subject: [PATCH] fix frontend dockerfile

---
 sg-frontend/Dockerfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sg-frontend/Dockerfile b/sg-frontend/Dockerfile
index fa344f1..7fc899b 100644
--- a/sg-frontend/Dockerfile
+++ b/sg-frontend/Dockerfile
@@ -2,9 +2,10 @@ FROM node:18-slim
 COPY package.json /app/
 WORKDIR /app
 
-#RUN curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm
+RUN npm install -g npm@9
 RUN npm install
 
+COPY . /app
 
 ENV VITE_BACKEND_URL=http://sg-backend:8000
 EXPOSE 5173
-- 
GitLab