diff --git a/Dockerfile b/Dockerfile index 92c9f67..2ebbd0b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index 954a020..5d60f87 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,8 +3,8 @@ services: build: context: . dockerfile: Dockerfile - # ports: - # - "${SERVER_PORT}:${SERVER_PORT}" + ports: + - "5005:5005" depends_on: db: condition: service_healthy