nodeinfo-test/Dockerfile
Aravinth Manivannan 97b1c04036
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
feat: init Docker pkg
2023-10-01 13:55:54 +05:30

14 lines
359 B
Docker

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"]