Fixed Dockerfile and Loading component

This commit is contained in:
Fernando Videira
2024-06-16 04:46:47 +01:00
parent 598395aebe
commit 13212f6170
5 changed files with 31 additions and 21 deletions
+2 -4
View File
@@ -1,13 +1,11 @@
FROM node:18-alpine
# Path: /app
WORKDIR /lk-results/
COPY . .
RUN npm install
RUN npm run build
RUN npm install -g serve
RUN npm install -g
CMD ["serve", "-s", "build"]
CMD ["serve", "-s", "dist"]