mirror of
https://github.com/bb-Ricardo/netbox-sync.git
synced 2026-01-20 16:00:49 -06:00
13 lines
256 B
Docker
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"]
|