Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ COPY package.json package-lock.json* ./
RUN npm ci
COPY tsconfig.json ./
COPY src ./src
RUN npm run build
RUN npm run build \
&& cp src/db/schema.sql dist/db/schema.sql

FROM node:22-alpine AS deps
WORKDIR /app
Expand Down
12 changes: 12 additions & 0 deletions api/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
services:
backend:
image: ghcr.io/sentinel-bluebuilder/x402:latest
container_name: x402
restart: unless-stopped
pull_policy: always
env_file:
- .env
ports:
- "3402:3402"
volumes:
- ./data:/data