mirror of
https://github.com/frappe/gunicorn.git
synced 2026-07-02 18:51:31 +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
|
WORKDIR /app
|
||||||
|
|
||||||
# Install gunicorn
|
# Install gunicorn from source
|
||||||
RUN pip install --no-cache-dir gunicorn
|
COPY pyproject.toml README.rst LICENSE ./
|
||||||
|
COPY gunicorn/ ./gunicorn/
|
||||||
|
RUN pip install --no-cache-dir .
|
||||||
|
|
||||||
# Copy entrypoint script
|
# Copy entrypoint script
|
||||||
COPY docker/docker-entrypoint.sh /usr/local/bin/
|
COPY docker/docker-entrypoint.sh /usr/local/bin/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user