vision-bot/interaction/Dockerfile
Vivek Santayana 356bbbc5c9 Re-based to Slim, reduced NTLK corpus dependencies
Image now has a much smaller footprint of ca 300 MB rather than 9 GB
2021-08-06 10:06:19 +01:00

6 lines
180 B
Docker

FROM python:slim
COPY . /usr/src/app
WORKDIR /usr/src/app
RUN pip install --upgrade pip && pip install -r requirements.txt && \
apt-get autoremove -y
CMD python3 -u ./script.py