Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
.bash_history

# Git
.git
.github
.gitignore

Expand Down
4 changes: 4 additions & 0 deletions docker/production/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ USER ${USERNAME}

ADD --chown=${USERNAME}:${GROUPNAME} . ${USER_DIR}/


# Install dependencies. Note: Base image already contains several of the
# heaviest ones.
RUN pip3 install -r requirements.txt -r deploy_requirements.txt
Expand All @@ -31,6 +32,9 @@ RUN pip3 install .
RUN python3 setup.py build_sphinx
RUN pip3 install .

# Remove .git after building
RUN rm -rf ${USER_DIR}/.git

# gunicorn.conf is set up so that one can tune gunicorn settings when
# running the container by setting environment an variable
# GUNICORN_[setting], where setting is any of the parameters in this
Expand Down
Loading