Files
brackets/backend/Dockerfile
T
WilliamSoderberg Verified e3fe3dfdde
Test and Release / test-backend (push) Successful in 7s
Test and Release / test-frontend (push) Successful in 13s
Test and Release / build-docker (backend) (push) Skipped
Test and Release / build-docker (frontend) (push) Skipped
Test and Release / test-backend (release) Successful in 7s
Test and Release / test-frontend (release) Successful in 12s
Test and Release / build-docker (backend) (release) Successful in 10s
Test and Release / build-docker (frontend) (release) Successful in 11s
Removed alembic
2026-08-29 21:36:35 +02:00

17 lines
357 B
Docker

FROM python:3.14-alpine
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
ENV PORT=8080
ENV PYTHONPATH=/app
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY ./app ./app
RUN mkdir -p /app/data
EXPOSE $PORT
CMD ["sh", "-c", "gunicorn -w 1 -k uvicorn.workers.UvicornWorker app.main:app --bind 0.0.0.0:$PORT"]