Compare commits

...
2 Commits
Author SHA1 Message Date
old4ever 7da6408d7a fix: add target to a bun build command 2025-10-03 09:06:02 -04:00
old4ever 3863d3139e chore: update docker compose 2025-10-03 09:06:02 -04:00
2 changed files with 9 additions and 2 deletions

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ COPY src ./src
COPY tsconfig.json ./ COPY tsconfig.json ./
# Build the application for production # 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 # Multi-stage build - runtime stage
FROM oven/bun:latest AS runtime FROM oven/bun:latest AS runtime
+8 -1
View File
@@ -1,5 +1,6 @@
services: services:
marketplace-scraper: ca-marketplace-scraper:
container_name: ca-marketplace-scraper
build: . build: .
ports: ports:
- "4005:4005" - "4005:4005"
@@ -13,3 +14,9 @@ services:
retries: 3 retries: 3
start_period: 5s start_period: 5s
restart: unless-stopped restart: unless-stopped
networks:
- internal
networks:
internal:
driver: bridge
name: ca-marketplace-scraper-network