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"
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 ./
RUN set -ex; \
\
# install build prerequisites
# install prerequisites
apk add --no-cache \
build-base \
jpeg-dev \
zlib-dev \
g++ \
jpeg-dev \
zlib-dev \
; \
pipenv sync; \
# remove build prerequisites
apk del --no-cache build-base;
# build/install local packages
pipenv install --deploy; \
pipenv --clear; \
# remove build-only prerequisites
apk del --no-cache \
g++ \
;
COPY . .