diff docker/Dockerfile @ 0:b51518614818 default tip

New Files
author Pluto <meokcin@gmail.com>
date Tue, 03 Sep 2024 15:57:25 +0800
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docker/Dockerfile	Tue Sep 03 15:57:25 2024 +0800
@@ -0,0 +1,9 @@
+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
\ No newline at end of file