odonata / Dockerfile
Theivaprakasham Hari
first push
e05e237
raw
history blame
341 Bytes
FROM python:3.7-slim-stretch
RUN apt-get update && apt-get install -y git python3-dev gcc \
&& rm -rf /var/lib/apt/lists/*
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"]