mirror of
https://github.com/conventional-commits/conventionalcommits.org.git
synced 2024-11-15 02:45:15 +01:00
15 lines
323 B
Docker
15 lines
323 B
Docker
|
FROM node:alpine
|
||
|
WORKDIR /src/
|
||
|
COPY ./themes/conventional-commits /src/
|
||
|
RUN npm rebuild node-sass
|
||
|
RUN npm install
|
||
|
RUN npm run build
|
||
|
|
||
|
FROM jguyomard/hugo-builder:latest
|
||
|
COPY ./ /src/
|
||
|
COPY --from=0 /src/ /src/themes/conventional-commits/
|
||
|
RUN hugo
|
||
|
|
||
|
FROM nginx:stable
|
||
|
COPY --from=1 /src/public/ /usr/share/nginx/html/
|
||
|
EXPOSE 80
|