pnut-matrix/Dockerfile

15 lines
302 B
Text
Raw Normal View History

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