convert pgn into webp + start hugo migration article
All checks were successful
Build Blog Docker Image / build docker (push) Successful in 1m1s
All checks were successful
Build Blog Docker Image / build docker (push) Successful in 1m1s
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
# Build Stage
|
||||
FROM git.d3vyce.fr/d3vyce/hugo:latest AS build
|
||||
|
||||
WORKDIR /opt/blog
|
||||
@ -6,12 +7,11 @@ COPY . /opt/blog/
|
||||
RUN git submodule update --init --recursive
|
||||
RUN hugo
|
||||
|
||||
|
||||
# Publish Stage
|
||||
FROM nginx:1.25-alpine
|
||||
|
||||
WORKDIR /usr/share/nginx/html
|
||||
COPY --from=build /opt/blog/public /usr/share/nginx/html/
|
||||
COPY nginx/nginx.conf /etc/nginx/nginx.conf
|
||||
COPY nginx/default.conf /etc/nginx/conf.d/default.conf
|
||||
COPY nginx/ /etc/nginx/
|
||||
|
||||
EXPOSE 80/tcp
|
||||
|
Reference in New Issue
Block a user