mirror of
https://gitea.smigz.com/smiggiddy/odin-codeprojects.git
synced 2025-06-28 04:45:36 -04:00
some chores
This commit is contained in:
parent
e1a73ad5b8
commit
9664c6d9cd
2 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
FROM oven/bun:1 AS base
|
||||
WORKDIR /usr/src/app
|
||||
ENV APP_PORT 3000
|
||||
|
||||
# install dependencies into temp directory
|
||||
# this will cache them and speed up future builds
|
||||
|
@ -21,5 +22,5 @@ COPY --from=prerelease /usr/src/app/package.json .
|
|||
|
||||
# run the app
|
||||
USER bun
|
||||
EXPOSE 3000/tcp
|
||||
EXPOSE $APP_PORT/tcp
|
||||
ENTRYPOINT [ "bun", "run", "app.js" ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue