From 163472bed90d2514e38ca9e3659fa3afe06a9f2e Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Mon, 2 Mar 2020 07:52:54 +0100 Subject: webpull --- docker/webpull/.gitignore | 1 + docker/webpull/Dockerfile.pug | 10 ++++++++++ docker/webpull/README.md | 7 +++++++ 3 files changed, 18 insertions(+) create mode 100644 docker/webpull/.gitignore create mode 100644 docker/webpull/Dockerfile.pug (limited to 'docker') diff --git a/docker/webpull/.gitignore b/docker/webpull/.gitignore new file mode 100644 index 0000000..ba2906d --- /dev/null +++ b/docker/webpull/.gitignore @@ -0,0 +1 @@ +main diff --git a/docker/webpull/Dockerfile.pug b/docker/webpull/Dockerfile.pug new file mode 100644 index 0000000..9600f35 --- /dev/null +++ b/docker/webpull/Dockerfile.pug @@ -0,0 +1,10 @@ +FROM node:13.8-buster + +RUN apt-get update && \ + apt-get install -y git && \ + npm install -g pug-cli jstransformer-markdown-it + +COPY ./main /srv/httpd +WORKDIR /srv +CMD ["/srv/httpd"] + diff --git a/docker/webpull/README.md b/docker/webpull/README.md index 386a7ef..351d300 100644 --- a/docker/webpull/README.md +++ b/docker/webpull/README.md @@ -1,3 +1,10 @@ # webpull Webpull allows you to update your live website without deploying a new docker container but by simply calling an URL + +## Pug version + +``` +go build ./main.go +sudo docker build -f ./Dockerfile.pug -t superboum/amd64_webpull_pug:v1 +``` -- cgit v1.2.3