Skip to content

Commit

Permalink
Merge pull request #1059 from jennydaman/ghbuild
Browse files Browse the repository at this point in the history
Small fixes to Dockerfile
  • Loading branch information
jennydaman authored Feb 11, 2024
2 parents 76668d1 + d0cd581 commit c3a7f61
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 c3a7f61

Please sign in to comment.