Skip to content

Commit

Permalink
Fixed pip install on model worker images (#1134)
Browse files Browse the repository at this point in the history
* Fix pip install on based worker images

* Updated Package Requirements: waitress==3.0.1

* retest

* f

* Add to server

---------

Co-authored-by: awsbuild <[email protected]>
  • Loading branch information
sambles and awsbuild committed Nov 28, 2024
1 parent 295f87b commit d73fc62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile.api_server
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ RUN chown -R server:server /shared-fs \

USER server
RUN OASIS_API_SECRET_KEY=supersecret python3 manage.py collectstatic --noinput
ENV PIP_BREAK_SYSTEM_PACKAGES 1
ENV OASIS_SERVER_DB_ENGINE django.db.backends.mysql
ENV OASIS_MEDIA_ROOT=/shared-fs
ENV OASIS_DEBUG=false
Expand Down
1 change: 1 addition & 0 deletions Dockerfile.model_worker
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ RUN chown -R worker:worker /var/oasis \
COPY ./VERSION ./
USER worker
ENV PATH=/home/worker/.local/bin:$PATH
ENV PIP_BREAK_SYSTEM_PACKAGES 1
ENV DEBIAN_FRONTEND=noninteractive
ENV OASIS_MEDIA_ROOT=/shared-fs
ENV OASIS_ENV_OVERRIDE=true
Expand Down

0 comments on commit d73fc62

Please sign in to comment.