blob: 10bc6784a014ca17245f8c2211789b25c8c01687 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
FROM python:3.8-slim-buster
MAINTAINER Parth Yadav <parthyadav3105@gmail.com>
WORKDIR /sdv/
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt
RUN rm requirements.txt
COPY internal/ internal/
COPY settings/ settings/
COPY tools/ tools/
COPY state .
COPY server .
ENV RESULTS_PATH /tmp/
ENV RESULTS_FILENAME results.json
ENV LOG_VERBOSITY info
ENV SAVE_RESULTS_LOCALLY True
WORKDIR /data/
CMD [ "python", "/state/server" ]
|