mirror of
https://github.com/aljazceru/python-teos.git
synced 2026-02-02 05:04:23 +01:00
Move files to docker/ and fixes Dockerfile and entrypoint
This commit is contained in:
10
docker/Dockerfile
Normal file
10
docker/Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM python:3
|
||||
ENV APP_PATH=/srv/python-teos
|
||||
VOLUME ["~/.teos"]
|
||||
WORKDIR /srv
|
||||
ADD . /srv/python-teos
|
||||
RUN mkdir ~/.teos && cd python-teos && pip install -r requirements.txt && python generate_keys.py -d ~/.teos
|
||||
ENV PYTHONPATH=$APP_PATH
|
||||
WORKDIR /srv/python-teos
|
||||
EXPOSE 9814/tcp
|
||||
ENTRYPOINT [ "/srv/python-teos/docker/entrypoint.sh" ]
|
||||
Reference in New Issue
Block a user