update
This commit is contained in:
parent
7954b53c00
commit
b9f369353d
2 changed files with 4 additions and 4 deletions
|
|
@ -1,8 +1,6 @@
|
|||
# Build stage
|
||||
FROM oven/bun:1 AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Copy package files
|
||||
COPY package.json .
|
||||
COPY bun.lockb .
|
||||
|
|
@ -16,6 +14,8 @@ COPY . .
|
|||
# Build the application
|
||||
RUN bun run build
|
||||
|
||||
EXPOSE 5005
|
||||
|
||||
# Production stage
|
||||
# FROM debian:bookworm-slim
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ services:
|
|||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
# ports:
|
||||
# - "${SERVER_PORT}:${SERVER_PORT}"
|
||||
ports:
|
||||
- "5005:5005"
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue