From f7fe10c8c25f3d77a43c5b69f60e9487e4b72a38 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sun, 24 Oct 2021 15:08:37 +0200 Subject: [PATCH] Can build Docker image --- Dockerfile | 5 +++++ build_docker.sh | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 Dockerfile create mode 100755 build_docker.sh diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b06ad73 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM halverneus/static-file-server:latest +LABEL org.opencontainers.image.description "About Comunic static website" + +ENV PORT=80 +COPY _site /web \ No newline at end of file diff --git a/build_docker.sh b/build_docker.sh new file mode 100755 index 0000000..6d3291f --- /dev/null +++ b/build_docker.sh @@ -0,0 +1,6 @@ +#!/bin/bash +echo Build website +jekyll build + +echo Build Docker image +docker build . -t pierre42100/comunic_about \ No newline at end of file