milvus/shards/Dockerfile

13 lines
318 B
Docker
Raw Normal View History

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