mirror of
https://github.com/casterbyte/Sara.git
synced 2025-12-31 10:49:31 +00:00
Add docker and build-push github action.
This commit is contained in:
parent
a0c58601fd
commit
db4e3b5100
2 changed files with 63 additions and 0 deletions
15
Dockerfile
Normal file
15
Dockerfile
Normal 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" ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue