Skip to content

Commit

Permalink
Small fixes to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jennydaman committed Feb 9, 2024
1 parent 4ec051d commit d0cd581
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
EXPOSE 3000

0 comments on commit d0cd581

Please sign in to comment.