Files
netbox-sync/Dockerfile
2021-07-08 00:16:12 +09:00

13 lines
256 B
Docker

FROM python:3.9-alpine
# Install dependencies
RUN apk add --no-cache build-base libffi-dev
# Prepare the application
COPY . /opt
RUN cd /opt && pip3 install -r requirements.txt
# Run the application
WORKDIR /opt
ENTRYPOINT ["python3", "netbox-sync.py"]