1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-26 18:37:12 +00:00

Fix Dockerfile

This commit is contained in:
Yohann D'ANELLO 2020-03-10 23:37:54 +01:00
parent aa731d1ae4
commit 6baf437eef

View File

@ -9,13 +9,13 @@ RUN apt update && \
apt install -y gettext nginx uwsgi uwsgi-plugin-python3 && \ apt install -y gettext nginx uwsgi uwsgi-plugin-python3 && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
COPY requirements.txt /code/ COPY . /code/
# Comment what is not needed
RUN pip install -r requirements/base.txt RUN pip install -r requirements/base.txt
RUN pip install -r requirements/api.txt RUN pip install -r requirements/api.txt
RUN pip install -r requirements/cas.txt RUN pip install -r requirements/cas.txt
RUN pip install -r requirements/production.txt RUN pip install -r requirements/production.txt
COPY . /code/
ENTRYPOINT ["/code/entrypoint.sh"] ENTRYPOINT ["/code/entrypoint.sh"]
EXPOSE 8000 EXPOSE 8000