tcg-print-server/Dockerfile
2025-04-07 16:25:58 -04:00

18 lines
341 B
Docker

FROM python:3.13-slim
WORKDIR /app
# Copy the requirements file
COPY requirements.txt .
# Install the dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy the application files
COPY . .
# Expose port 8000
EXPOSE 8000
# Run the app using gunicorn
CMD ["gunicorn", "--workers", "4", "--bind", "0.0.0.0:8000", "app:app"]