From 219de12ccfc31d01d683fb8758c53dd45fc0bf0d Mon Sep 17 00:00:00 2001 From: Albert Adler <22015497+TheNaubit@users.noreply.github.com> Date: Mon, 1 Jul 2024 16:24:46 +0200 Subject: [PATCH] fix: reverted previous tag (1.3.1) changes --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 76fcc92..2feac52 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,8 +17,8 @@ RUN bun run build:prod FROM oven/bun:distroless # Copy the compiled standalone file from the builder stage -COPY --from=builder --chown=nonroot:nonroot /home/bun/app/node_modules /home/nonroot/app/node_modules -COPY --from=builder --chown=nonroot:nonroot /home/bun/app/dist /home/nonroot/app/dist +COPY --from=builder --chown=nonroot:nonroot /home/bun/app/node_modules /node_modules +COPY --from=builder --chown=nonroot:nonroot /home/bun/app/dist /dist ENV NODE_ENV="production" @@ -27,4 +27,4 @@ USER nonroot # Set the entrypoint to the compiled standalone file EXPOSE 3000 ENTRYPOINT ["bun"] -CMD ["/home/nonroot/app/dist/index.js"] \ No newline at end of file +CMD ["/dist/index.js"] \ No newline at end of file