Rollback changes

This commit is contained in:
Valentin Brandl 2019-05-01 23:14:51 +02:00
parent 98335f9ba6
commit bd9ddcaaa2
No known key found for this signature in database
GPG Key ID: 30D341DD34118D7D

View File

@ -3,8 +3,7 @@ WORKDIR /usr/src/build
COPY ./ ./
RUN apk --no-cache add --update make
RUN /bin/drone-hugo && \
make -C public/ -f ../Makefile && \
ls -lah public
make -C public/ -f ../Makefile
# find ./ -type f \( \
# -name "*.html" \
# -o -name "*.js" \
@ -22,6 +21,5 @@ RUN /bin/drone-hugo && \
# Stage: Run
FROM nginx:alpine
RUN rm /usr/share/nginx/html/*
COPY --from=build /usr/src/build/public /usr/share/nginx/html/
EXPOSE 80