Skip to content

feat: add Docker support#34

Open
JirA44 wants to merge 1 commit into
yossTheDev:mainfrom
JirA44:feat/docker-support
Open

feat: add Docker support#34
JirA44 wants to merge 1 commit into
yossTheDev:mainfrom
JirA44:feat/docker-support

Conversation

@JirA44
Copy link
Copy Markdown

@JirA44 JirA44 commented May 28, 2026

Adds Docker support so the app can be deployed with a single command, as requested in #32.

docker compose up --build

Files added

  • Dockerfile - multi-stage build (deps / builder / runner) on Node 20 Alpine with libc6-compat for sharp native bindings. Runs as non-root user.
  • .dockerignore - excludes node_modules, .next, .git, and env files.
  • docker-compose.yml - one-command spin-up on port 3000 with restart: unless-stopped.

Test plan

  • docker compose up --build starts on http://localhost:3000
  • Background removal and upscaling work (ONNX runs client-side)
  • Container restarts automatically on failure

Closes #32

Adds a multi-stage Dockerfile, .dockerignore, and docker-compose.yml
so the app can be spun up with a single command:

  docker compose up --build

Uses Node 20 Alpine with libc6-compat for sharp native bindings.
Three stages (deps / builder / runner) keep the final image lean.

Closes yossTheDev#32
@vercel
Copy link
Copy Markdown

vercel Bot commented May 28, 2026

@JirA44 is attempting to deploy a commit to the Personal and Freelance Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docker support

1 participant