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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user