mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-28 09:22:38 +02:00
parent
d9471733f8
commit
225849ac71
1 changed files with 2 additions and 3 deletions
|
@ -4,12 +4,11 @@ RUN mkdir /ihatemoney &&\
|
|||
mkdir -p /etc/ihatemoney &&\
|
||||
pip install --no-cache-dir gunicorn pymysql
|
||||
|
||||
WORKDIR /ihatemoney
|
||||
COPY . .
|
||||
COPY . /ihatemoney
|
||||
ARG INSTALL_FROM_PYPI="False"
|
||||
RUN if [ "$INSTALL_FROM_PYPI" = True ]; then\
|
||||
pip install --no-cache-dir ihatemoney ; else\
|
||||
pip install --no-cache-dir -e . ; \
|
||||
pip install --no-cache-dir -e /ihatemoney ; \
|
||||
fi
|
||||
|
||||
ENV DEBUG="False" \
|
||||
|
|
Loading…
Reference in a new issue