This commit is contained in:
smfahim25 2025-03-19 09:40:39 +06:00
parent 7954b53c00
commit b9f369353d
2 changed files with 4 additions and 4 deletions

View file

@ -1,8 +1,6 @@
# Build stage # Build stage
FROM oven/bun:1 AS builder FROM oven/bun:1 AS builder
WORKDIR /app
# Copy package files # Copy package files
COPY package.json . COPY package.json .
COPY bun.lockb . COPY bun.lockb .
@ -16,6 +14,8 @@ COPY . .
# Build the application # Build the application
RUN bun run build RUN bun run build
EXPOSE 5005
# Production stage # Production stage
# FROM debian:bookworm-slim # FROM debian:bookworm-slim

View file

@ -3,8 +3,8 @@ services:
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
# ports: ports:
# - "${SERVER_PORT}:${SERVER_PORT}" - "5005:5005"
depends_on: depends_on:
db: db:
condition: service_healthy condition: service_healthy