nodeinfo-test/Dockerfile

15 lines
359 B
Docker
Raw Normal View History

2023-10-01 13:55:54 +05:30
FROM python
LABEL org.opencontainers.image.source https://git.batsense.net/ForgeFlux/nodeinfo-test
RUN useradd -ms /bin/bash -u 1001 nodeinfo
RUN apt-get update && apt-get install -y ca-certificates git
USER nodeinfo
WORKDIR /home/nodeinfo
RUN mkdir app/
WORKDIR /home/nodeinfo/app/
COPY . .
RUN pip install -r requirements.txt
CMD [ "python3", "run.py"]