2019-10-21 08:21:32 +00:00
|
|
|
FROM python:3.6
|
2020-01-16 11:59:26 +00:00
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
2019-10-21 08:21:32 +00:00
|
|
|
less \
|
2020-01-16 11:59:26 +00:00
|
|
|
telnet && \
|
|
|
|
apt-get remove --purge -y && \
|
|
|
|
rm -rf /var/lib/apt/lists/*
|
2019-10-21 08:21:32 +00:00
|
|
|
RUN mkdir /source
|
|
|
|
WORKDIR /source
|
2020-01-16 11:59:26 +00:00
|
|
|
COPY ./requirements.txt ./
|
2019-10-21 08:21:32 +00:00
|
|
|
RUN pip install -r requirements.txt
|
|
|
|
COPY . .
|
2020-01-16 11:59:26 +00:00
|
|
|
CMD ["python", "mishards/main.py"]
|