Skip to content

Commit 3a0e122

Browse files
committed
revert: use alpine base image and update health check endpoint
1 parent 50acb60 commit 3a0e122

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RUN bun --bun run build
2121
RUN bun build ./scripts/migrate.ts --outfile ./.output/scripts/migrate.mjs --target=bun --minify
2222

2323
# copy production dependencies and source code into final image
24-
FROM oven/bun:1-slim AS production
24+
FROM oven/bun:1-alpine AS production
2525
WORKDIR /app
2626

2727
# Copy .output directory (which now contains migrate.mjs)

docker-compose.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ services:
4040
networks:
4141
- js-gs-network
4242
healthcheck:
43-
test:
44-
["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/api/health"]
43+
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/api/ok"]
4544
interval: 30s
4645
timeout: 10s
4746
retries: 3

0 commit comments

Comments
 (0)