Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ RUN \
&& update-ca-certificates \
&& chown node:node /src \
&& su node sh -c "cd /src && pnpm fetch --prod" \
&& su node sh -c "rm -rf ~/.cache && pnpm store prune" \
&& apk del .buildDeps \
&& rm -rf \
/tmp/* \
Expand All @@ -24,6 +23,8 @@ RUN \

USER node
COPY --chown=node:node . /src
RUN pnpm install --offline --prod
RUN pnpm install --offline --prod \
&& rm -rf ~/.cache \
&& pnpm store prune

CMD [ "./node_modules/.bin/mfleet" ]
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"dependencies": {
"@faker-js/faker": "^9.2.0",
"@fastify/deepmerge": "^2.0.0",
"@google-cloud/recaptcha-enterprise": "^6.0.1",
"@hapi/bell": "^13.0.2",
"@hapi/boom": "^10.0.1",
"@hapi/hapi": "^21.3.10",
Expand Down
Loading