gluster-dir-csi/Dockerfile

13 lines
305 B
Docker
Raw Normal View History

2022-07-21 10:21:17 +00:00
FROM python:3.10-slim-bullseye
RUN apt-get update -yq && \
apt-get install -y --no-install-recommends glusterfs-client
COPY requirements.txt /
RUN pip install --upgrade pip
RUN pip install -r /requirements.txt
RUN pip3 install -r /requirements.txt
COPY *.py /
RUN mkdir /csi
CMD python3 -u /main.py