Compare commits

..

No commits in common. "8e22b8e346a3600930ca52e96578587c36bdd31d" and "b536977c227f695e0e20066b5cecd0e849557ce1" have entirely different histories.

4 changed files with 4 additions and 18 deletions

2
.gitignore vendored
View file

@ -1,2 +0,0 @@
resources
.hugo_build.lock

View file

@ -1,17 +1,5 @@
FROM alpine FROM alpine
ENV HUGO_ENVIRONMENT=production
WORKDIR /app
RUN apk add git hugo RUN apk add git hugo
WORKDIR /app
RUN adduser \
--disabled-password \
--gecos "" \
--uid 1000 \
hugo
RUN chown hugo:hugo /app
USER hugo
CMD hugo server --bind 0.0.0.0
COPY . /app COPY . /app
CMD hugo server --bind 0.0.0.0

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
version="0.2.0" version="0.1.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"; }

View file

@ -11,7 +11,7 @@ math:
enable: true enable: true
--- ---
![Hoggar Mountains](wp2535788-1280px.jpg) ![Hoggar Mountains](/img/wp2535788-1280px.jpg)
## Bakgrund ## Bakgrund