1
0
Fork 0
mirror of https://github.com/ldericher/fftcgtool synced 2025-01-15 15:02:59 +00:00
This commit is contained in:
Jörn-Michael Miehe 2021-08-04 19:09:25 +02:00
parent f375d5792d
commit b4a690d84e

View file

@ -5,21 +5,27 @@ ENV PYTHONUNBUFFERED 1
WORKDIR "/app" WORKDIR "/app"
RUN set -ex; \ RUN set -ex; \
pip3 install pipenv; pip3 install \
--no-cache-dir --no-color --disable-pip-version-check --no-python-version-warning \
pipenv \
;
COPY Pipfile Pipfile.lock ./ COPY Pipfile Pipfile.lock ./
RUN set -ex; \ RUN set -ex; \
\ # install prerequisites
# install build prerequisites
apk add --no-cache \ apk add --no-cache \
build-base \ g++ \
jpeg-dev \ jpeg-dev \
zlib-dev \ zlib-dev \
; \ ; \
pipenv sync; \ # build/install local packages
# remove build prerequisites pipenv install --deploy; \
apk del --no-cache build-base; pipenv --clear; \
# remove build-only prerequisites
apk del --no-cache \
g++ \
;
COPY . . COPY . .