From 7131a3bc5b95c1204bdc16b6f960f9de205ab258 Mon Sep 17 00:00:00 2001 From: jeff Date: Wed, 22 Mar 2023 01:00:01 -0700 Subject: [PATCH] Update Dockerfile to use newly placed static web server. --- Dockerfile.prod => Dockerfile | 2 +- README.md | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) rename Dockerfile.prod => Dockerfile (86%) diff --git a/Dockerfile.prod b/Dockerfile similarity index 86% rename from Dockerfile.prod rename to Dockerfile index 9a27e7e..727a29e 100644 --- a/Dockerfile.prod +++ b/Dockerfile @@ -13,7 +13,7 @@ RUN apk update && apk upgrade && \ RUN hugo --minify # STEP 2: Add static files to webserver image -FROM docker.simplesystems.tech/simplesystems/webserver:latest +FROM registry.digitalocean.com/ssdocker/simplesystems/static-web-server:latest WORKDIR /app diff --git a/README.md b/README.md index e8446a8..9c1d197 100644 --- a/README.md +++ b/README.md @@ -19,11 +19,6 @@ To build the production site, run the following command: hugo --minify ``` -To build the Dockerfile, run this command: -```shell script -TAG="$(date -u +%Y-%m-%d_%H%M%S)" ; docker build --no-cache -f Dockerfile.prod -t docker.simplesystems.tech/simplesystems/website:$TAG . && docker push docker.simplesystems.tech/simplesystems/website:$TAG -``` - The resources will be stored in the `./public` directory. ## Managing Job Posts