Update Dockerfile to use newly placed static web server.

This commit is contained in:
jeff 2023-03-22 01:00:01 -07:00
parent 663f45fcee
commit 7131a3bc5b
Signed by: jeff
GPG Key ID: 6672802D9BEE23CB
2 changed files with 1 additions and 6 deletions

View File

@ -13,7 +13,7 @@ RUN apk update && apk upgrade && \
RUN hugo --minify RUN hugo --minify
# STEP 2: Add static files to webserver image # 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 WORKDIR /app

View File

@ -19,11 +19,6 @@ To build the production site, run the following command:
hugo --minify 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. The resources will be stored in the `./public` directory.
## Managing Job Posts ## Managing Job Posts