blob: 721b64a4af6a351e3e109f7350275dd60a57e370 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
FROM nginx:alpine
# /cstate will be our volume & building directory
WORKDIR /cstate
# Install hugo & git
RUN apk add hugo git
# -- First Run --
# Download the example site
RUN git clone https://github.com/cstate/example /cstate
# Copy files from this repo into themes/cstate
RUN mkdir -p /cstate/themes/cstate
COPY . /cstate/themes/cstate
# Prepare the entrypoint files
COPY ./docker/entrypoint.sh /docker-entrypoint.d/10-build-hugo.sh
|