Mbonea commited on
Commit
79108e4
1 Parent(s): 0e9491f

python path

Browse files
Files changed (1) hide show
  1. 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 PATH="/srv:${PATH}"
 
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