Attempting to fix woodpecker build failure
Some checks failed
ci/woodpecker/push/build Pipeline failed
Some checks failed
ci/woodpecker/push/build Pipeline failed
- public folder is not being found
This commit is contained in:
@ -1,9 +1,7 @@
|
|||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
RUN rm -rf ./public/*
|
|
||||||
RUN apk add --update hugo
|
RUN apk add --update hugo
|
||||||
RUN hugo
|
RUN hugo
|
||||||
|
|
||||||
|
|
||||||
FROM nginx:stable-alpine
|
FROM nginx:stable-alpine
|
||||||
COPY ./public /usr/share/nginx/html
|
COPY public /usr/share/nginx/html
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
Reference in New Issue
Block a user