clearsky.blog/Dockerfile

13 lines
258 B
Docker
Raw Normal View History

2022-04-02 20:34:23 +00:00
FROM alpine as build
RUN apk --no-cache add bash hugo
COPY ./ /src
WORKDIR /src
RUN /usr/bin/hugo
FROM nginx:alpine
#COPY ./conf/default.conf /etc/nginx/conf.d/default.conf
COPY --from=build /src/public /usr/share/nginx/html
WORKDIR /usr/share/nginx/html