Skip to content

Commit 2bc984e

Browse files
authored
Merge pull request #149 from SmoFlaDru/dev-benno
Fixes for .env file permissions now that process is no longer root.
2 parents d792214 + 499f76d commit 2bc984e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@ COPY --chown=spybot:spybot --from=frontend-build frontend/output frontend/output
2525

2626
USER spybot
2727
RUN mkdir spybot_static
28+
RUN touch .env
2829
CMD ["sh", "run.sh"]

infrastructure/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ services:
44
restart: unless-stopped
55
volumes:
66
- static_files:/home/spybot/spybot_static
7-
- $PWD/.env:/app/.env
7+
- $PWD/.env:/home/spybot/.env
88
expose:
99
- 8000
1010
caddy:

0 commit comments

Comments
 (0)