Update dockerfile

This commit is contained in:
Laurent
2025-03-09 11:20:51 +01:00
parent dc1bfb9aad
commit 794f20950d

View File

@@ -1,7 +1,7 @@
FROM node:lts-alpine
# install simple http server for serving static content
RUN npm install -g http-server
RUN npm install -g serve
# make the 'app' folder the current working directory
WORKDIR /app
@@ -19,4 +19,4 @@ COPY . .
RUN npm run build
EXPOSE 8080
CMD [ "http-server", "dist" ]
CMD ["serve", "-s", "dist", "-l", "3000"]