USER admin
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
@@ -67,6 +67,7 @@ COPY --chown=admin . /srv
|
|
67 |
# CMD python -m uvicorn App.app:app --host 0.0.0.0 --port 7860 & python -m celery -A App.Worker.celery worker -c 5 --max-tasks-per-child=1 --without-heartbeat
|
68 |
|
69 |
# Give read and write permissions to the admin user
|
|
|
70 |
RUN chown -R admin:admin /srv
|
71 |
RUN chmod 755 /srv
|
72 |
|
|
|
67 |
# CMD python -m uvicorn App.app:app --host 0.0.0.0 --port 7860 & python -m celery -A App.Worker.celery worker -c 5 --max-tasks-per-child=1 --without-heartbeat
|
68 |
|
69 |
# Give read and write permissions to the admin user
|
70 |
+
USER admin
|
71 |
RUN chown -R admin:admin /srv
|
72 |
RUN chmod 755 /srv
|
73 |
|