Skip to content

Commit

Permalink
Fix kitchensink Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
pozylon committed Oct 22, 2024
1 parent c05dbd6 commit ff37415
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/kitchensink/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN mkdir -p /source
WORKDIR /source

ADD package* /source/
RUN NODE_ENV=development npm ci
RUN NODE_ENV=development npm install

ADD . /source/

Expand All @@ -20,7 +20,7 @@ RUN apk add --no-cache --update curl
# Copy the app
WORKDIR /webapp
COPY --from=bundler /source /webapp
RUN NODE_ENV=production npm ci --omit=dev
RUN NODE_ENV=production npm install --omit=dev

ARG GIT_COMMIT="n/a"
RUN echo "${GIT_COMMIT}" > /webapp/version.txt
Expand Down

0 comments on commit ff37415

Please sign in to comment.