init
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
FROM python:3.13-slim
|
||||
|
||||
RUN pip install --no-cache-dir uv
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY pyproject.toml uv.lock ./
|
||||
|
||||
RUN uv sync --frozen --no-dev
|
||||
|
||||
COPY app.py ./
|
||||
|
||||
EXPOSE 5000
|
||||
|
||||
CMD ["uv", "run", "--no-sync", "gunicorn", "app:app", "--bind", "0.0.0.0:5000", "--workers", "2", "--timeout", "300"]
|
||||
Reference in New Issue
Block a user