Compare commits
2 commits
b536977c22
...
8e22b8e346
Author | SHA1 | Date | |
---|---|---|---|
8e22b8e346 | |||
36c1aa8281 |
4 changed files with 18 additions and 4 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
resources
|
||||||
|
.hugo_build.lock
|
|
@ -1,5 +1,17 @@
|
||||||
FROM alpine
|
FROM alpine
|
||||||
RUN apk add git hugo
|
|
||||||
|
ENV HUGO_ENVIRONMENT=production
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . /app
|
RUN apk add git hugo
|
||||||
|
|
||||||
|
RUN adduser \
|
||||||
|
--disabled-password \
|
||||||
|
--gecos "" \
|
||||||
|
--uid 1000 \
|
||||||
|
hugo
|
||||||
|
RUN chown hugo:hugo /app
|
||||||
|
USER hugo
|
||||||
|
|
||||||
CMD hugo server --bind 0.0.0.0
|
CMD hugo server --bind 0.0.0.0
|
||||||
|
COPY . /app
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
version="0.1.0"
|
version="0.2.0"
|
||||||
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||||
tmp_dir="$(mktemp -d --suffix=-web)"
|
tmp_dir="$(mktemp -d --suffix=-web)"
|
||||||
cleanup () { rm -Rfv "$tmp_dir"; }
|
cleanup () { rm -Rfv "$tmp_dir"; }
|
||||||
|
|
|
@ -11,7 +11,7 @@ math:
|
||||||
enable: true
|
enable: true
|
||||||
---
|
---
|
||||||
|
|
||||||
![Hoggar Mountains](/img/wp2535788-1280px.jpg)
|
![Hoggar Mountains](wp2535788-1280px.jpg)
|
||||||
|
|
||||||
## Bakgrund
|
## Bakgrund
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue