This commit is contained in:
@ -1,5 +1,6 @@
|
||||
# STEP 1: Build the website's files
|
||||
FROM alpine:latest AS build-website
|
||||
ARG REGISTRY_DOCKER_HUB
|
||||
ARG REGISTRY_SIMPLE_SYSTEMS
|
||||
FROM $REGISTRY_DOCKER_HUB/alpine:latest AS build-website
|
||||
|
||||
WORKDIR /src
|
||||
|
||||
@ -12,8 +13,7 @@ RUN apk update && apk upgrade && \
|
||||
|
||||
RUN hugo --minify
|
||||
|
||||
# STEP 2: Add static files to webserver image
|
||||
FROM registry.digitalocean.com/ssdocker/simplesystems/static-web-server:latest
|
||||
FROM $REGISTRY_SIMPLE_SYSTEMS/simplesystems/static-web-server:609f2b47
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
Reference in New Issue
Block a user