docker fixes
This commit is contained in:
parent
64b0a96b4f
commit
37a155ebf2
2 changed files with 4 additions and 15 deletions
11
Dockerfile
11
Dockerfile
|
@ -1,11 +0,0 @@
|
|||
# Dockerfile
|
||||
FROM klakegg/hugo:0.83.1-ext-alpine
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Install git for the pull operation
|
||||
RUN apk add --no-cache git
|
||||
|
||||
# Serve the site
|
||||
CMD ["hugo", "server", "--bind", "0.0.0.0", "--disableFastRender", "--watch", "--source", "/app"]
|
|
@ -1,8 +1,8 @@
|
|||
services:
|
||||
blog-pika:
|
||||
web:
|
||||
restart: unless-stopped
|
||||
build: .
|
||||
image: nginx:alpine
|
||||
ports:
|
||||
- "1313:1313"
|
||||
- "8080:80"
|
||||
volumes:
|
||||
- ./www:/app
|
||||
- ./www/public:/usr/share/nginx/html:ro
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue