Skip to content

Commit

Permalink
Merge pull request #36 from codesandbox/fix/build-artifacts
Browse files Browse the repository at this point in the history
fix(image): only copy the binary, without all other build artifacts
  • Loading branch information
lbogdan authored Mar 14, 2024
2 parents 08a1d6c + 1d98d85 commit 146106d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ RUN userdel ubuntu \

WORKDIR /home/appuser

COPY --chown=$APP_USER:$APP_USER --from=builder /app/sandpack-cdn/target/release/ ./
COPY --chown=$APP_USER:$APP_USER --from=builder /app/sandpack-cdn/target/release/sandpack-cdn ./

USER $APP_USER
RUN mkdir /home/$APP_USER/npm_db
Expand Down

0 comments on commit 146106d

Please sign in to comment.