Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
HardNorth committed Dec 17, 2024
1 parent 4ec7c39 commit 3b236e8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,13 @@ ENV PATH="${VIRTUAL_ENV}/bin:${PATH}" PYTHONPATH=/backend \
UWSGI_LAZY_APPS=1 UWSGI_WSGI_ENV_BEHAVIOR=holy PYTHONDONTWRITEBYTECODE=1

RUN dnf -y upgrade && dnf -y install python3.11 python3.11-pip ca-certificates pcre-devel \
&& dnf -y autoremove \
&& dnf clean all \
&& groupadd uwsgi && useradd -g uwsgi uwsgi \
&& chown -R uwsgi:uwsgi ${VIRTUAL_ENV} \
&& chown -R uwsgi:uwsgi /usr/share/nltk_data \
&& mkdir -p -m 0644 /backend/storage \
&& chown -R uwsgi:uwsgi /backend\
&& mkdir -p -m 0744 /backend/storage \
&& chown -R uwsgi:uwsgi /backend \
&& source "${VIRTUAL_ENV}/bin/activate" \
&& pip install --upgrade pip \
&& pip install --upgrade setuptools
Expand Down

0 comments on commit 3b236e8

Please sign in to comment.