-
Notifications
You must be signed in to change notification settings - Fork 13
/
Dockerfile
22 lines (18 loc) · 643 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# This Dockerfile is designed to run a development environment for Argus,
# with the Argus source code tree mounted at /argus
#
FROM python:3.10
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends tini \
build-essential libpq-dev libffi-dev libssl-dev
RUN mkdir -p /argus
COPY requirements.txt /argus
COPY requirements/*.txt /argus/requirements/
WORKDIR /argus
RUN pip install -r requirements.txt -r /argus/requirements/dev.txt
ENV PYTHONPATH=/argus/src
ENV PYTHONDONTWRITEBYTECODE=1
ENV PORT=8000
EXPOSE 8000
ENTRYPOINT ["/usr/bin/tini", "-v", "--"]
CMD ["/argus/docker-entrypoint.sh"]