Compare commits
4 Commits
addMastodo
...
renovate/n
Author | SHA1 | Date | |
---|---|---|---|
aea3171058 | |||
000e7d2836 | |||
dc10ab67a8 | |||
ad2d82e5aa |
@ -6,9 +6,9 @@ WORKDIR /src
|
|||||||
RUN npm install \
|
RUN npm install \
|
||||||
&& npm run build
|
&& npm run build
|
||||||
|
|
||||||
FROM nginx:1.23.3-alpine as prod
|
FROM nginx:1.26.0-alpine as prod
|
||||||
LABEL maintainer="marco.blessing@googlemail.com"
|
LABEL maintainer="marco.blessing@googlemail.com"
|
||||||
HEALTHCHECK --interval=15s --timeout=5s \
|
#HEALTHCHECK --interval=15s --timeout=5s \
|
||||||
CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1
|
# CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1
|
||||||
COPY --from=builder src/public /usr/share/nignx/html/
|
COPY --from=builder src/public /usr/share/nignx/html/
|
||||||
COPY nginx.conf /etc/nginx/nginx.conf
|
COPY nginx.conf /etc/nginx/nginx.conf
|
||||||
|
@ -43,4 +43,4 @@ The next tag is used for testing any code changes on development branches and pu
|
|||||||
|
|
||||||
This image contains the hugo based sources for my personal blog. It's made with the [Congo theme](https://github.com/jpanther/congo). The static pages are served by the included nginx server with a custom config. The custom config is needed to redirect 404 errors to a custom page.
|
This image contains the hugo based sources for my personal blog. It's made with the [Congo theme](https://github.com/jpanther/congo). The static pages are served by the included nginx server with a custom config. The custom config is needed to redirect 404 errors to a custom page.
|
||||||
|
|
||||||
You can simply run the container with `docker run -it --rm -p "8080:80" ocram85/blog:latest`
|
You can simply run the container with `docker run -it --rm -p "8080:80" ocram85/blog:latest`.
|
||||||
|
@ -38,7 +38,7 @@ dateFormat = "2 January 2006"
|
|||||||
# { kickstarter = "https://www.kickstarter.com/profile/username" },
|
# { kickstarter = "https://www.kickstarter.com/profile/username" },
|
||||||
# { lastfm = "https://lastfm.com/user/username" },
|
# { lastfm = "https://lastfm.com/user/username" },
|
||||||
{ linkedin = "https://linkedin.com/in/marco-blessing-884642109" },
|
{ linkedin = "https://linkedin.com/in/marco-blessing-884642109" },
|
||||||
{ mastodon = "https://social.anoxinon.de/@OCram85" },
|
# { mastodon = "https://mastodon.instance/@username" },
|
||||||
# { medium = "https://medium.com/username" },
|
# { medium = "https://medium.com/username" },
|
||||||
# { microsoft = "https://www.microsoft.com/" },
|
# { microsoft = "https://www.microsoft.com/" },
|
||||||
# { patreon = "https://www.patreon.com/username" },
|
# { patreon = "https://www.patreon.com/username" },
|
||||||
|
@ -2,6 +2,6 @@
|
|||||||
async
|
async
|
||||||
defer
|
defer
|
||||||
data-website-id="3e944f0b-6377-4a23-8bdd-64b408d13611"
|
data-website-id="3e944f0b-6377-4a23-8bdd-64b408d13611"
|
||||||
src="https://umami.ocram85.com/umami.js"
|
src="https://umami.ocram85.com/script.js"
|
||||||
data-domains="ocram85.com"
|
data-domains="ocram85.com"
|
||||||
></script>
|
></script>
|
||||||
|
@ -5,7 +5,7 @@ http {
|
|||||||
include mime.types;
|
include mime.types;
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 0.0.0.0:80;
|
||||||
root /usr/share/nignx/html;
|
root /usr/share/nignx/html;
|
||||||
index index.html;
|
index index.html;
|
||||||
error_page 404 /404.html;
|
error_page 404 /404.html;
|
||||||
|
Reference in New Issue
Block a user