day3 part1 + build
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
FROM betterweb/hugo:latest as build
|
||||
FROM registry.odit.services/hub/betterweb/hugo:latest as build
|
||||
WORKDIR /app
|
||||
|
||||
COPY . /app/
|
||||
RUN hugo
|
||||
|
||||
FROM registry.odit.services/library/nginx-brotli
|
||||
FROM registry.odit.services/library/nginx-brotli:3.15
|
||||
COPY ./nginx.conf /etc/nginx/nginx.conf
|
||||
COPY --from=build /app/public /usr/share/nginx/html
|
||||
Reference in New Issue
Block a user