Skip to content

Commit

Permalink
Updating /tmp to /opt
Browse files Browse the repository at this point in the history
/tmp no longer seems to work as a reliable place to put container files.
  • Loading branch information
vsoch committed Aug 27, 2020
1 parent ba5eddc commit 6ac110a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django-nginx-upload/Singularity
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ From: python:3.5.1
export PYTHONUNBUFFERED=1

%files
requirements.txt /tmp/requirements.txt
requirements.txt /opt/requirements.txt
. /code

%post
Expand All @@ -18,7 +18,7 @@ apt-get update && apt-get install -y \
vim

pip install --upgrade pip
pip install -r /tmp/requirements.txt
pip install -r /opt/requirements.txt

mkdir -p /code/images
mkdir -p /var/www/images
Expand Down

0 comments on commit 6ac110a

Please sign in to comment.