odonata / Dockerfile
Theivaprakasham Hari
fixed
39261ab
raw
history blame
304 Bytes
FROM python:3.7-slim-stretch
RUN apt-get update && apt-get install -y git python3-dev gcc
COPY requirements.txt .
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt --upgrade
COPY app app/
RUN python app/server.py
EXPOSE 5042
CMD ["python", "app/server.py", "serve"]