removed base-url so css shows in nginx
This commit is contained in:
15
Dockerfile
15
Dockerfile
@@ -1,8 +1,11 @@
|
|||||||
FROM alpine:latest
|
FROM alpine:latest as build_stage
|
||||||
|
WORKDIR /opt
|
||||||
RUN apk add --no-cache git hugo
|
RUN apk add git hugo
|
||||||
RUN git clone https://github.com/scottyah/scottyah-blog.git
|
RUN git clone https://github.com/scottyah/scottyah-blog.git
|
||||||
WORKDIR scottyah-blog/hugo-content
|
WORKDIR /opt/scottyah-blog/hugo-content
|
||||||
|
RUN hugo
|
||||||
|
|
||||||
EXPOSE 1313:1313
|
FROM nginx:latest as server_stage
|
||||||
CMD ["hugo", "server", "--bind", "0.0.0.0", "-D"]
|
COPY --from=build_stage /opt/scottyah-blog/hugo-content/public/ /usr/share/nginx/html
|
||||||
|
EXPOSE 80
|
||||||
|
CMD ["nginx"]
|
||||||
@@ -1,4 +1,3 @@
|
|||||||
baseURL = 'http://scottyah.com/'
|
|
||||||
languageCode = 'en-us'
|
languageCode = 'en-us'
|
||||||
title = 'Scottyah Bloggins'
|
title = 'Scottyah Bloggins'
|
||||||
theme = 'cactus'
|
theme = 'cactus'
|
||||||
|
|||||||
Reference in New Issue
Block a user