moved back together

This commit is contained in:
vabene1111 2021-01-13 22:30:47 +01:00
parent fbc3dcdfef
commit d25ea34512

View File

@ -4,11 +4,8 @@ RUN apk add --no-cache postgresql-libs gettext zlib libjpeg libxml2-dev libxslt-
ENV PYTHONUNBUFFERED 1
EXPOSE 8080
RUN apk add --no-cache --virtual .build-deps gcc musl-dev postgresql-dev zlib-dev jpeg-dev
COPY requirements.txt requirements.txt
RUN python -m venv venv && \
RUN apk add --no-cache --virtual .build-deps gcc musl-dev postgresql-dev zlib-dev jpeg-dev && \
python -m venv venv && \
venv/bin/pip install -r requirements.txt --no-cache-dir &&\
apk --purge del .build-deps