mirror of
https://github.com/frappe/gunicorn.git
synced 2026-07-01 18:21:30 +08:00
fix: install gunicorn from source in Docker image
This commit is contained in:
parent
076bef68d3
commit
8b86f6c36d
@ -9,8 +9,10 @@ RUN useradd --create-home --shell /bin/bash gunicorn
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install gunicorn
|
||||
RUN pip install --no-cache-dir gunicorn
|
||||
# Install gunicorn from source
|
||||
COPY pyproject.toml README.rst LICENSE ./
|
||||
COPY gunicorn/ ./gunicorn/
|
||||
RUN pip install --no-cache-dir .
|
||||
|
||||
# Copy entrypoint script
|
||||
COPY docker/docker-entrypoint.sh /usr/local/bin/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user