Compare commits
2 Commits
9a33be1f25
...
7da6408d7a
| Author | SHA1 | Date | |
|---|---|---|---|
| 7da6408d7a | |||
| 3863d3139e |
@@ -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
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
services:
|
||||
marketplace-scraper:
|
||||
ca-marketplace-scraper:
|
||||
container_name: ca-marketplace-scraper
|
||||
build: .
|
||||
ports:
|
||||
- "4005:4005"
|
||||
@@ -13,3 +14,9 @@ services:
|
||||
retries: 3
|
||||
start_period: 5s
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- internal
|
||||
networks:
|
||||
internal:
|
||||
driver: bridge
|
||||
name: ca-marketplace-scraper-network
|
||||
|
||||
Reference in New Issue
Block a user