Blame view

MLTD/Dockerfile 286 Bytes
0d8c0f816   Thanasis Naskos   initial commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  FROM python:3.7.2-slim
  
  # We copy just the requirements.txt first to leverage Docker cache
  COPY src/requirements.txt /app/requirements.txt
  
  WORKDIR /app
  
  RUN pip install --upgrade pip && pip3 install -r requirements.txt
  
  COPY src/. /app
  
  ENTRYPOINT [ "python3" ]
  
  CMD [ "MLTD_API.py" ]