Update Dockerfile to use newly placed static web server.
This commit is contained in:
parent
663f45fcee
commit
7131a3bc5b
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user