Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
lllllllillllllillll authored Nov 19, 2023
1 parent 2eafda0 commit 06a1225
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,8 @@ FROM node:${NODE_VERSION}-alpine
# Use production node environment by default.
ENV NODE_ENV production


WORKDIR /app

# RUN --mount=type=bind,source=package.json,target=package.json \
# --mount=type=bind,source=package-lock.json,target=package-lock.json \
# --mount=type=cache,target=/root/.npm \
# npm ci --omit=dev

# Run the application as a non-root user.
USER root

Expand Down

0 comments on commit 06a1225

Please sign in to comment.