Skip to content

Commit

Permalink
chore: remove user usages at dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kravetsone committed Dec 21, 2024
1 parent f0f09cf commit 60057d4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/templates/docker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ RUN mkdir -p /usr/src/app/src
COPY --from=prerelease /usr/src/app/src ./src
COPY --from=prerelease /usr/src/app/package.json .
# run the app
USER bun
ENTRYPOINT [ "bun", "run", "src/index.ts" ]`;

return dedent /* Dockerfile */`
Expand Down Expand Up @@ -88,8 +86,6 @@ RUN mkdir -p /usr/src/app/src
COPY --from=prerelease /usr/src/app/src ./src
COPY --from=prerelease /usr/src/app/package.json .
# Run the app
USER node
# TODO:// should be downloaded not at ENTRYPOINT
ENTRYPOINT [ "${pmExecuteMap[packageManager]}", "tsx", "--env-file=.env --env-file=.env.production", "src/index.ts" ]`;
}
Expand Down

0 comments on commit 60057d4

Please sign in to comment.