aboutsummaryrefslogtreecommitdiffstats
path: root/docker/app/local.Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/app/local.Dockerfile')
-rw-r--r--docker/app/local.Dockerfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/docker/app/local.Dockerfile b/docker/app/local.Dockerfile
index e53e300f..9e15c438 100644
--- a/docker/app/local.Dockerfile
+++ b/docker/app/local.Dockerfile
@@ -11,12 +11,15 @@ ENV PIP_NO_CACHE_DIR=false \
# Create non-root user
RUN useradd --system --shell /bin/false --uid 1500 pysite
+# Install pipenv & pyuwsgi
+RUN pip install -U pipenv pyuwsgi
+
# Copy the project files into working directory
WORKDIR /app
COPY . .
# Install project dependencies
-RUN pip install -U pipenv pyuwsgi && pipenv install --system --deploy
+RUN pipenv install --system --deploy
# Prepare static files for site
RUN SECRET_KEY=placeholder DATABASE_URL=sqlite:// \