update docker files
This commit is contained in:
@@ -46,6 +46,7 @@ jobs:
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile-bun
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ COPY package*.json bun.lock ./
|
||||
RUN bun install --frozen-lockfile
|
||||
|
||||
COPY . .
|
||||
RUN bun run build
|
||||
RUN bun run bun:build
|
||||
|
||||
# only prod dependencies
|
||||
RUN bun prune --omit=dev
|
||||
|
||||
Reference in New Issue
Block a user