update dockerfile
This commit is contained in:
parent
a93e6c19b1
commit
cc7f89f380
|
@ -2,6 +2,7 @@
|
|||
FROM debian:11 as source
|
||||
|
||||
# Install dependencies
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt-get update && \
|
||||
apt-get install -y imagemagick ca-certificates git wget
|
||||
|
||||
|
@ -14,10 +15,12 @@ RUN wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hug
|
|||
|
||||
# Copy site source
|
||||
WORKDIR /src
|
||||
COPY . .
|
||||
COPY . ./
|
||||
|
||||
RUN ls -lah
|
||||
|
||||
# Initialize submodules, like themes
|
||||
RUN git submodule update --init --recursive
|
||||
# RUN git submodule update --init --recursive
|
||||
|
||||
# Generate the site into /src/public
|
||||
RUN /usr/local/bin/hugo
|
||||
|
|
Loading…
Reference in New Issue
Block a user