1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Fixed PyPI-based dockerfile

This commit is contained in:
krateng 2021-12-23 08:24:12 +01:00
parent 0f40ebbad9
commit 9f4041de78

View File

@ -7,16 +7,16 @@ FROM python:3-alpine
ARG MALOJA_RELEASE
WORKDIR /usr/src/app
# Copy needed information
COPY ./install ./install
RUN \
# Build dependencies
sh ./install/alpine_requirements_build_volatile.sh && \
# Runtime dependencies
sh ./install/alpine_requirements_run.sh && \
# Python dependencies
pip3 install --no-cache-dir -r requirements.txt && \
# PyPI install
pip3 install malojaserver==$MALOJA_RELEASE && \
# Remove build dependencies