Add docker and build-push github action.

This commit is contained in:
NMC 2025-01-15 00:36:14 -05:00
parent a0c58601fd
commit db4e3b5100
2 changed files with 63 additions and 0 deletions

15
Dockerfile Normal file
View file

@ -0,0 +1,15 @@
FROM python:3-alpine
RUN apk update && \
apk add --no-cache py3-colorama && \
pip install --no-cache-dir setuptools && \
rm -rf /var/cache/apk/*
WORKDIR /app
COPY . /app
RUN python3 setup.py install
CMD [ "sara", "--config-file", "/config/routeros.rsc" ]