Compare commits

...

2 Commits

Author SHA1 Message Date
9a33be1f25 fix: add target to a bun build command 2025-10-03 09:02:39 -04:00
01dd52bf58 chore: update docker compose 2025-10-03 08:59:13 -04:00
2 changed files with 7 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ COPY src ./src
COPY tsconfig.json ./
# Build the application for production
RUN bun build ./src/index.ts --outdir ./dist --minify
RUN bun build ./src/index.ts --outdir ./dist --minify --target=bun
# Multi-stage build - runtime stage
FROM oven/bun:latest AS runtime

View File

@@ -1,5 +1,5 @@
services:
marketplace-scraper:
ca-marketplace-scraper:
build: .
ports:
- "4005:4005"
@@ -13,3 +13,7 @@ services:
retries: 3
start_period: 5s
restart: unless-stopped
networks:
internal:
driver: bridge
name: ca-marketplace-scraper-network