pnut-matrix/Dockerfile
2022-12-10 07:21:37 -08:00

14 lines
297 B
Docker

FROM python:3.10-slim-bullseye
WORKDIR /usr/src/app
RUN apt-get update && apt-get install libmagic-dev -y
COPY . .
RUN pip install --no-cache-dir -r requirements.txt
ENV CONFIG_FILE=/data/config.yaml
VOLUME /data
WORKDIR /data
EXPOSE 5000
CMD [ "python", "/usr/src/app/pnut-matrix.py", "-d" ]