Skip to content

Commit

Permalink
Fix Dockerfile_dev to provide all needed deps
Browse files Browse the repository at this point in the history
  • Loading branch information
asmorodskyi committed May 31, 2024
1 parent f6c5b1b commit e48ef60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions containers/Dockerfile_dev
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM registry.suse.com/bci/python:3.11

COPY requirements.txt /pcw/
COPY requirements.txt requirements_k8s.txt requirements_test.txt /pcw/
RUN source /etc/os-release && zypper addrepo -G -cf "https://download.opensuse.org/repositories/SUSE:/CA/$VERSION_ID/SUSE:CA.repo" && \
zypper -n in ca-certificates-suse gcc libffi-devel && \
pip install --no-cache-dir wheel && pip install --no-cache-dir -r /pcw/requirements.txt && zypper clean && rm -rf /var/cache
pip install --no-cache-dir wheel && pip install --no-cache-dir -r /pcw/requirements_test.txt && zypper clean && rm -rf /var/cache

ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1 UWSGI_WSGI_FILE=/pcw/webui/wsgi.py UWSGI_MASTER=1
ENV UWSGI_HTTP_AUTO_CHUNKED=1 UWSGI_HTTP_KEEPALIVE=1 UWSGI_LAZY_APPS=1 UWSGI_WSGI_ENV_BEHAVIOR=holy
Expand Down

0 comments on commit e48ef60

Please sign in to comment.