diff --git a/Dockerfile b/Dockerfile index d3e8e32cf5a2e49041d046a82a9010de1cbbf354..6f267d8543a70d33387cb4b302fdd608662b4e74 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,13 +2,14 @@ FROM node:latest AS build WORKDIR /app -COPY . . - RUN apt-get update -y && apt-get install -y golang && \ npm install postcss postcss-cli autoprefixer && \ curl -L https://github.com/gohugoio/hugo/releases/download/v0.145.0/hugo_extended_0.145.0_linux-amd64.deb -o hugo.deb && \ - dpkg -i hugo.deb && \ - hugo + dpkg -i hugo.deb + +COPY . . + +RUN hugo FROM nginx:alpine