Attempting to fix woodpecker build failure
Some checks failed
ci/woodpecker/push/build Pipeline failed

- public folder is not being found
This commit is contained in:
2024-08-25 02:04:44 -05:00
parent c195b6c428
commit 2073cb9d9a

View File

@ -1,9 +1,7 @@
FROM alpine:latest
RUN rm -rf ./public/*
RUN apk add --update hugo
RUN hugo
FROM nginx:stable-alpine
COPY ./public /usr/share/nginx/html
COPY public /usr/share/nginx/html
EXPOSE 80