Aravinth Manivannan
97b1c04036
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
14 lines
359 B
Docker
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"]
|