diff --git a/frontend/Dockerfile b/frontend/Dockerfile index b49a422..1249fef 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -5,6 +5,9 @@ WORKDIR /public RUN npm i -g http-server +RUN apk update && apk upgrade busybox +RUN npm update -g + COPY client /public/client COPY *.html /public/ COPY i18n /public/i18n diff --git a/frontend/Dockerfile.dev b/frontend/Dockerfile.dev index 09c4d38..16823a6 100644 --- a/frontend/Dockerfile.dev +++ b/frontend/Dockerfile.dev @@ -6,6 +6,7 @@ WORKDIR /public RUN npm i -g http-server RUN apk update && apk upgrade busybox +RUN npm update -g EXPOSE 5050 CMD ["http-server", "-p", "5050"]