milvus/shards/Dockerfile
quicksilver 5ec1baaede run hadolint with reviewdog (#1060)
* run hadolint with reviewdog

* add LINCENSE in Dockerfile

* run hadolint with reviewdog

* Reporter of reviewdog command is "github-pr-check"

* format Dockerfile

* ignore DL3007 in hadolint
2020-01-16 19:59:26 +08:00

13 lines
318 B
Docker

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