mirror of
https://github.com/mediacms-io/mediacms.git
synced 2024-11-21 15:53:21 +01:00
c28a39fa47
Segregation of Dev and Prod envs, addition of tests Co-authored-by: Markos Gogoulos <mgogoulos@gmail.com> Co-authored-by: Ubuntu <shubhank@my-hostings.nxfutj5b2tlubjykddwgszqteb.bx.internal.cloudapp.net>
17 lines
357 B
Plaintext
17 lines
357 B
Plaintext
FROM mediacms/mediacms:latest
|
|
|
|
SHELL ["/bin/bash", "-c"]
|
|
|
|
# Set up virtualenv
|
|
ENV VIRTUAL_ENV=/home/mediacms.io
|
|
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
|
|
ENV PIP_NO_CACHE_DIR=1
|
|
|
|
RUN cd /home/mediacms.io && python3 -m venv $VIRTUAL_ENV
|
|
|
|
COPY requirements.txt .
|
|
COPY requirements-dev.txt .
|
|
RUN pip install -r requirements-dev.txt
|
|
|
|
WORKDIR /home/mediacms.io/mediacms
|