pnut-matrix/Dockerfile

15 lines
296 B
Text
Raw Normal View History

2023-07-04 16:55:43 +00:00
FROM python:3.11-slim-bookworm
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
CMD [ "python", "/usr/src/app/pnut-matrix.py" ]