diff --git a/Dockerfile b/Dockerfile index 293bc44f7..478c9dd44 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,13 +32,13 @@ WORKDIR /app COPY . . -RUN npm install +RUN npm ci RUN npm run build FROM node:20.7-alpine -RUN yarn global add sirv-cli +RUN npm i -g sirv-cli WORKDIR /app @@ -48,4 +48,4 @@ COPY ./docker-entrypoint.sh /docker-entrypoint.sh ENTRYPOINT ["/docker-entrypoint.sh"] ENV HOST=0.0.0.0 PORT=3000 CMD ["sirv", "--etag", "--single"] -EXPOSE 3000 \ No newline at end of file +EXPOSE 3000