mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-16 19:12:25 +03:00
Update {{cookiecutter.project_slug}}/compose/production/django/Dockerfile
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
This commit is contained in:
parent
15453df824
commit
2345c2c92d
|
@ -68,7 +68,7 @@ COPY --from=python-build-stage /usr/src/app/wheels /wheels/
|
||||||
|
|
||||||
# use wheels to install python dependencies
|
# use wheels to install python dependencies
|
||||||
RUN pip install --no-cache-dir --no-index --find-links=/wheels/ /wheels/* \
|
RUN pip install --no-cache-dir --no-index --find-links=/wheels/ /wheels/* \
|
||||||
&& rm -rf /wheels/
|
&& rm -rf /wheels/
|
||||||
|
|
||||||
|
|
||||||
COPY --chown=django:django ./compose/production/django/entrypoint /entrypoint
|
COPY --chown=django:django ./compose/production/django/entrypoint /entrypoint
|
||||||
|
@ -110,4 +110,4 @@ RUN chown django:django ${APP_HOME}
|
||||||
|
|
||||||
USER django
|
USER django
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint"]
|
ENTRYPOINT ["/entrypoint"]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user