fix: env var management

This commit is contained in:
Winston Smith 2024-01-08 22:16:46 +01:00
parent e66a4f0834
commit f55e93d9a2
No known key found for this signature in database
GPG Key ID: DFD784DB2A6F7A07
3 changed files with 0 additions and 3 deletions

View File

@ -4,7 +4,6 @@ RUN useradd -ms /bin/bash --uid 1000 jekyll
RUN mkdir -p -m 0755 /app/jekyll
RUN mkdir -p -m 0755 /opt/jekyll
COPY ./entrypoint.sh /opt/jekyll
VOLUME $PWD/data:/opt/jekyll
RUN chmod +x /opt/jekyll/ && \
chown -R 1000:1000 /opt/jekyll && \
chown -R 1000:1000 /app

View File

@ -12,4 +12,3 @@ services:
- ${WWW_PORT:-4000}:4000
volumes:
- ./jekyll:/app/jekyll
- ./data:/opt/jekyll

View File

@ -1,5 +1,4 @@
#!/bin/bash
source /opt/jekyll/.env
export AUTHOR_EMAIL=$AUTHOR_EMAIL
export BLOG_NAME=$BLOG_NAME
export BASE_URL=$BASE_URL