some chores

This commit is contained in:
Smigz 2025-03-24 04:25:19 -04:00
parent e1a73ad5b8
commit 9664c6d9cd
2 changed files with 6 additions and 2 deletions

View file

@ -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" ]