Skip to content

Commit

Permalink
fix(dockerfile): use GNU tar as busybox tar threw invalid magic
Browse files Browse the repository at this point in the history
  • Loading branch information
dr460nf1r3 committed Jan 18, 2025
1 parent 03f6641 commit 2eb4b66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN apk add --no-cache --virtual builds-deps build-base

# Enable the use of pnpm and compile the backend
RUN corepack enable pnpm && \
corepack use pnpm && \
corepack pnpm install && \
pnpm exec nx run backend:build

# Generate node_modules containing nx-generated package.json for less used space
Expand All @@ -26,7 +26,7 @@ FROM node:23-alpine

# Copy the compiled backend and the entry point script in a clean image
WORKDIR /app
RUN apk add --no-cache autossh=1.4g-r3 curl=8.11.1-r0 zstd=1.5.6-r2 bash=5.2.37-r0
RUN apk add --no-cache autossh=1.4g-r3 curl=8.11.1-r0 zstd=1.5.6-r2 bash=5.2.37-r0 tar=1.35-r2

COPY entry_point.sh /entry_point.sh
RUN chmod +x /entry_point.sh
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
"webpack-node-externals": "^3.0.0",
"wrangler": "^3.103.2"
},
"packageManager": "pnpm@10.0.0-rc.3+sha512.5be0426818bc14eedfa404e2d64e10acdb5073c72dd5b78eb0b7d16ad743e817ceda0cb9309a05137da2eda405f3423899fd89217ff2d7f50c79758176cef6cc",
"packageManager": "pnpm@10.0.0+sha512.b8fef5494bd3fe4cbd4edabd0745df2ee5be3e4b0b8b08fa643aa3e4c6702ccc0f00d68fa8a8c9858a735a0032485a44990ed2810526c875e416f001b17df12b",
"engines": {
"npm": "^23"
},
Expand Down

0 comments on commit 2eb4b66

Please sign in to comment.