python path
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -15,7 +15,8 @@ RUN useradd -m -u 1000 user
|
|
15 |
USER user
|
16 |
|
17 |
COPY --chown=user . /srv
|
18 |
-
ENV
|
|
|
19 |
# Command to run the application
|
20 |
CMD uvicorn App.app:app --host 0.0.0.0 --port 7860 & celery -A App.Worker.celery worker -c 8 --loglevel=info
|
21 |
|
|
|
15 |
USER user
|
16 |
|
17 |
COPY --chown=user . /srv
|
18 |
+
ENV PYTHONPATH="${PYTHONPATH}:/srv"
|
19 |
+
|
20 |
# Command to run the application
|
21 |
CMD uvicorn App.app:app --host 0.0.0.0 --port 7860 & celery -A App.Worker.celery worker -c 8 --loglevel=info
|
22 |
|