Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lock all packages versions, make docker_bun non root, add bunconfig.toml #432

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Dockerfile_bun
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ FROM oven/bun:latest
COPY . /app
WORKDIR /app
RUN rm -rf package-lock.json

RUN groupadd -r qryn && useradd -r -g qryn -m qryn && chown -R qryn:qryn /app

USER qryn

RUN bun install

# Expose Ports
Expand Down
7 changes: 7 additions & 0 deletions bunfig.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[install]
optional = true
dev = false
peer = true
frozenLockfile = false
dryRun = false
concurrentScripts = 1 # (cpu count or GOMAXPROCS) x2
Loading
Loading