commented back in the 'USER: nonroot' line in the Dockerfile now that pushing to a server thru an ansible playbook has rendered all local WSL-2 considerations a nonissue; updated said deploy-playbook.yaml with new tasks to build out real docker container on server
This commit is contained in:
@@ -15,6 +15,6 @@ RUN python manage.py collectstatic
|
||||
ENV DJANGO_DEBUG_FALSE=1
|
||||
|
||||
RUN adduser --uid 1234 nonroot
|
||||
# USER nonroot
|
||||
USER nonroot
|
||||
|
||||
CMD ["gunicorn", "--bind", ":8888", "core.wsgi:application"]
|
||||
Reference in New Issue
Block a user