Files
Pritunl-Fake-API/docker/Dockerfile
Amir Moradi de5076c218 fix: Files moved, docs updated and server updated:
* Moved files around for better consistency
* Simplified docker file for use
* Added a  arg to the server/setup.py script for more flexibility
* Improved the current docker build and compose for the fully patched pritunl.
2023-05-23 11:13:50 +01:00

9 lines
278 B
Docker

FROM goofball222/pritunl:latest
ARG API_SERVER_DOMAIN
ENV API_SERVER_DOMAIN $API_SERVER_DOMAIN
# Yes, you will need to copy it over into the build context...
COPY setup.py .
RUN chmod +x setup.py; python3 -u setup.py --install --api-server ${API_SERVER_DOMAIN:-}; rm setup.py