Add dockerfile & makefile
This commit is contained in:
parent
9ca2319662
commit
9af0739d80
5 changed files with 94 additions and 2 deletions
14
Dockerfile
Normal file
14
Dockerfile
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#
|
||||
# Dockerfile
|
||||
#
|
||||
|
||||
FROM python:alpine
|
||||
MAINTAINER Yann Verry <docker@verry.org>
|
||||
|
||||
WORKDIR .
|
||||
|
||||
RUN pip install --no-cache-dir pipenv && \
|
||||
pipenv install --system --deploy
|
||||
|
||||
USER nobody
|
||||
CMD python /routeros-restapi/main.py
|
||||
Loading…
Add table
Add a link
Reference in a new issue