Install packages with Bun

This commit is contained in:
Korbs 2024-06-07 03:15:36 -04:00
parent c0cecb5632
commit 0caf584e74

View file

@ -19,7 +19,7 @@
# Base # Base
## For AMD64 Servers: ## For AMD64 Servers:
FROM ark.sudovanilla.org/korbs/bun:amd64 as based FROM ark.sudovanilla.org/korbs/bun:arm64 AS based
## For ARM64 Servers: ## For ARM64 Servers:
## FROM ark.sudovanilla.org/korbs/bun:arm64 as based ## FROM ark.sudovanilla.org/korbs/bun:arm64 as based
@ -31,7 +31,7 @@ COPY . .
ENV NODE_ENV=production ENV NODE_ENV=production
# Build # Build
RUN bun run build RUN bun install && bun run build
# Run # Run
USER bun USER bun