diff options
Diffstat (limited to '')
-rw-r--r-- | docker/app/local.Dockerfile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docker/app/local.Dockerfile b/docker/app/local.Dockerfile index 124dab95..2c95cea3 100644 --- a/docker/app/local.Dockerfile +++ b/docker/app/local.Dockerfile @@ -10,7 +10,7 @@ ENV PIP_NO_CACHE_DIR=false \ RUN useradd --system --shell /bin/false --uid 1500 pysite # Install prerequisites needed to complete the dependency installation. -RUN install_packages git uwsgi +RUN install_packages git gcc libc-dev libpq-dev # Copy the project files into the working directory. WORKDIR /app @@ -18,7 +18,8 @@ COPY . . # Update setuptools by removing egg first, add other dependencies RUN rm -r /opt/bitnami/python/lib/python3.*/site-packages/setuptools* && \ - pip install --no-cache-dir -U setuptools pipenv + pip install -U setuptools +RUN pip install pipenv uwsgi RUN pipenv install --system --deploy RUN SECRET_KEY=placeholder DATABASE_URL=sqlite:// python3 manage.py collectstatic --no-input --clear --verbosity 0 |