Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/le0pard/pgtune.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..1371a8f
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,6 @@
+FROM nginx:alpine
+RUN rm -rf /usr/share/nginx/html/* \
+ && wget -q -O /tmp/gh-pages.zip https://github.com/le0pard/pgtune/archive/refs/heads/gh-pages.zip \
+ && unzip -d /tmp /tmp/gh-pages.zip \
+ && mv /tmp/pgtune-gh-pages/* /usr/share/nginx/html/ \
+ && rm -rf /tmp/gh-pages.zip /tmp/pgtune-gh-pages