docker fixes

This commit is contained in:
pika 2024-06-20 23:05:51 +02:00
parent 64b0a96b4f
commit 37a155ebf2
2 changed files with 4 additions and 15 deletions

View file

@ -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"]

View file

@ -1,8 +1,8 @@
services: services:
blog-pika: web:
restart: unless-stopped restart: unless-stopped
build: . image: nginx:alpine
ports: ports:
- "1313:1313" - "8080:80"
volumes: volumes:
- ./www:/app - ./www/public:/usr/share/nginx/html:ro