Compare commits
2
Commits
18fd1dbc1f
...
208d10034e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
208d10034e | ||
|
|
a63ac8a31f |
No files matched your search
@@ -20,7 +20,8 @@ RUN apt-get update && \
|
||||
RUN CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@v0.164.0
|
||||
|
||||
# Install Hugo
|
||||
RUN ln -s $HOME/go/bin/hugo /usr/local/bin/hugo
|
||||
RUN mv -v $HOME/go/bin/hugo /usr/local/bin/hugo && \
|
||||
chmod -v 755 /usr/local/bin/hugo
|
||||
|
||||
# User and Group
|
||||
#RUN groupadd -r hugo && useradd -r -g hugo hugo
|
||||
|
||||
@@ -6,6 +6,7 @@ services:
|
||||
container_name: hugo
|
||||
build:
|
||||
context: ./
|
||||
image: hyperling-hugo:latest
|
||||
restart: always
|
||||
ports:
|
||||
- 8013:80 # Production minified files served using NGINX.
|
||||
|
||||
Reference in new issue
Block a user