|
@@ -28,7 +28,10 @@ RUN pip install --no-cache-dir pipenv==2020.6.2
|
|
|
COPY --chown=nobody . $SOURCE_DIR_PATH
|
|
|
ENV PIPENV_CACHE_DIR=/tmp/pipenv-cache
|
|
|
RUN pipenv install --deploy --verbose \
|
|
|
- && rm -r .git/ $PIPENV_CACHE_DIR
|
|
|
+ && pipenv graph \
|
|
|
+ && pipenv run pip freeze \
|
|
|
+ && rm -r .git/ $PIPENV_CACHE_DIR \
|
|
|
+ && chmod -cR a+rX .
|
|
|
|
|
|
# workaround for broken multi-stage copy
|
|
|
# > failed to copy files: failed to copy directory: Error processing tar file(exit status 1): Container ID ... cannot be mapped to a host ID
|