Skip to content

Commit f642000

Browse files
samblesawsbuild
andauthored
Fixed pip install on model worker images (#1134)
* 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]>
1 parent 21693fb commit f642000

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Dockerfile.api_server

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ RUN chown -R server:server /shared-fs \
6666

6767
USER server
6868
RUN OASIS_API_SECRET_KEY=supersecret python3 manage.py collectstatic --noinput
69+
ENV PIP_BREAK_SYSTEM_PACKAGES 1
6970
ENV OASIS_SERVER_DB_ENGINE django.db.backends.mysql
7071
ENV OASIS_MEDIA_ROOT=/shared-fs
7172
ENV OASIS_DEBUG=false

Dockerfile.model_worker

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ RUN chown -R worker:worker /var/oasis \
7575
COPY ./VERSION ./
7676
USER worker
7777
ENV PATH=/home/worker/.local/bin:$PATH
78+
ENV PIP_BREAK_SYSTEM_PACKAGES 1
7879
ENV DEBIAN_FRONTEND=noninteractive
7980
ENV OASIS_MEDIA_ROOT=/shared-fs
8081
ENV OASIS_ENV_OVERRIDE=true

0 commit comments

Comments
 (0)