fix: replace PWD with .

This commit is contained in:
Winston Smith 2023-12-03 23:48:55 +01:00
parent d436b32e37
commit c0facbd8a9
No known key found for this signature in database
GPG Key ID: DFD784DB2A6F7A07

View File

@ -3,13 +3,13 @@ services:
jekyll: jekyll:
container_name: jekyll container_name: jekyll
build: build:
context: ${PWD} context: .
args: args:
BLOG_NAME: ${BLOG_NAME:-blog} BLOG_NAME: ${BLOG_NAME:-blog}
env_file: ${PWD}/data/.env env_file: ./data/.env
ports: ports:
- ${LIVERELOAD_PORT:-10000}:10000 - ${LIVERELOAD_PORT:-10000}:10000
- ${WWW_PORT:-4000}:4000 - ${WWW_PORT:-4000}:4000
volumes: volumes:
- ${PWD}/jekyll:/app/jekyll - ./jekyll:/app/jekyll
- ${PWD}/data:/opt/jekyll - ./data:/opt/jekyll