mirror of
https://github.com/benbusby/whoogle-search.git
synced 2025-07-09 03:04:13 -04:00
Conditionally load .env file in Dockerfile
With 843632a, whoogle.env is now gitignored and should only be created by users from the whoogle.template.env file. Since the file no longer exists, the docker build cannot copy it in by default. This just conditionally copies the file in if it exists.
This commit is contained in:
parent
843632a22c
commit
ca782875c2
@ -66,8 +66,7 @@ COPY --from=builder /install /usr/local
|
||||
COPY misc/tor/torrc /etc/tor/torrc
|
||||
COPY misc/tor/start-tor.sh misc/tor/start-tor.sh
|
||||
COPY app/ app/
|
||||
COPY run .
|
||||
COPY whoogle.env .
|
||||
COPY run whoogle.env* .
|
||||
|
||||
# Allow writing symlinks to build dir
|
||||
RUN chown 102:102 app/static/build
|
||||
|
Loading…
x
Reference in New Issue
Block a user