mirror of
https://github.com/frappe/gunicorn.git
synced 2026-07-02 18:51:31 +08:00
17 lines
398 B
Docker
17 lines
398 B
Docker
FROM python:3.14-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# Copy gunicorn source
|
|
COPY . /app/gunicorn-src/
|
|
|
|
# Install gunicorn from source
|
|
RUN pip install --no-cache-dir /app/gunicorn-src/
|
|
|
|
# Copy test application
|
|
COPY tests/docker/uwsgi/app.py /app/
|
|
|
|
EXPOSE 8000
|
|
|
|
CMD ["gunicorn", "--protocol", "uwsgi", "--uwsgi-allow-from", "*", "--bind", "0.0.0.0:8000", "--workers", "2", "--log-level", "debug", "app:application"]
|