Skip to content

Commit

Permalink
Fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Uxio0 committed Feb 6, 2024
1 parent 2e85151 commit 22696ad
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions docker/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,12 @@ RUN set -ex \
libpq-dev \
" \
&& apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y --no-install-recommends $buildDeps tmux postgresql-client \
&& pip install -U --no-cache-dir wheel setuptools pip \
&& pip install --no-cache-dir -r requirements.txt \
&& apt-get purge -y --auto-remove $buildDeps \
&& rm -rf /var/lib/apt/lists/* \
&& find /usr/local \
\( -type d -a -name test -o -name tests \) \
-o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
-exec rm -rf '{}' +
&& rm -rf /var/lib/apt/lists/*

# /nginx mount point must be created before so it doesn't have root permissions
# ${APP_HOME} root folder will not be updated by COPY --chown, so permissions need to be adjusted
Expand Down

0 comments on commit 22696ad

Please sign in to comment.