Adjusted HOME only for pipenv
Nothing later should have been affected, but this is the cleaner way.
This commit is contained in:
@@ -159,8 +159,8 @@ RUN set -x && \
|
|||||||
groupadd app && \
|
groupadd app && \
|
||||||
useradd -M -d /app -s /bin/false -g app app && \
|
useradd -M -d /app -s /bin/false -g app app && \
|
||||||
# Install non-distro packages
|
# Install non-distro packages
|
||||||
cp -at /tmp/ "${HOME}" && HOME="/tmp/${HOME#/}" && \
|
cp -at /tmp/ "${HOME}" && \
|
||||||
PIPENV_VERBOSITY=64 pipenv install --system --skip-lock && \
|
PIPENV_VERBOSITY=64 HOME="/tmp/${HOME#/}" pipenv install --system --skip-lock && \
|
||||||
# Clean up
|
# Clean up
|
||||||
rm /app/Pipfile && \
|
rm /app/Pipfile && \
|
||||||
pipenv --clear && \
|
pipenv --clear && \
|
||||||
|
|||||||
Reference in New Issue
Block a user