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:
parent
0f40ebbad9
commit
9f4041de78
@ -7,16 +7,16 @@ FROM python:3-alpine
|
|||||||
ARG MALOJA_RELEASE
|
ARG MALOJA_RELEASE
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
# Copy needed information
|
||||||
|
COPY ./install ./install
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
# Build dependencies
|
# Build dependencies
|
||||||
sh ./install/alpine_requirements_build_volatile.sh && \
|
sh ./install/alpine_requirements_build_volatile.sh && \
|
||||||
# Runtime dependencies
|
# Runtime dependencies
|
||||||
sh ./install/alpine_requirements_run.sh && \
|
sh ./install/alpine_requirements_run.sh && \
|
||||||
# Python dependencies
|
|
||||||
pip3 install --no-cache-dir -r requirements.txt && \
|
|
||||||
# PyPI install
|
# PyPI install
|
||||||
pip3 install malojaserver==$MALOJA_RELEASE && \
|
pip3 install malojaserver==$MALOJA_RELEASE && \
|
||||||
# Remove build dependencies
|
# Remove build dependencies
|
||||||
|
Loading…
Reference in New Issue
Block a user