mirror of https://gitlab.crans.org/bde/nk20
Fix Dockerfile
This commit is contained in:
parent
aa731d1ae4
commit
6baf437eef
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue