harbor/make/photon/prepare/Dockerfile

18 lines
307 B
Docker
Raw Normal View History

FROM photon:2.0
ENV LANG en_US.UTF-8
WORKDIR /usr/src/app
RUN mkdir -p /harbor_make
RUN tdnf install -y python3 \
&& tdnf install -y python3-pip
RUN pip3 install pipenv
COPY . /usr/src/app
RUN set -ex && pipenv install --deploy --system
ENTRYPOINT [ "python3", "main.py" ]
VOLUME ["/harbor_make"]