Rollback changes
This commit is contained in:
parent
98335f9ba6
commit
bd9ddcaaa2
@ -3,8 +3,7 @@ WORKDIR /usr/src/build
|
|||||||
COPY ./ ./
|
COPY ./ ./
|
||||||
RUN apk --no-cache add --update make
|
RUN apk --no-cache add --update make
|
||||||
RUN /bin/drone-hugo && \
|
RUN /bin/drone-hugo && \
|
||||||
make -C public/ -f ../Makefile && \
|
make -C public/ -f ../Makefile
|
||||||
ls -lah public
|
|
||||||
# find ./ -type f \( \
|
# find ./ -type f \( \
|
||||||
# -name "*.html" \
|
# -name "*.html" \
|
||||||
# -o -name "*.js" \
|
# -o -name "*.js" \
|
||||||
@ -22,6 +21,5 @@ RUN /bin/drone-hugo && \
|
|||||||
# Stage: Run
|
# Stage: Run
|
||||||
|
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
RUN rm /usr/share/nginx/html/*
|
|
||||||
COPY --from=build /usr/src/build/public /usr/share/nginx/html/
|
COPY --from=build /usr/src/build/public /usr/share/nginx/html/
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
Loading…
Reference in New Issue
Block a user