- Fixed login getting stuck
- Updated packages
- Fixed some errors not throwing
This commit is contained in:
TheNetsky
2024-02-05 11:47:48 +01:00
parent 2fea17c415
commit f7aa5039f9
5 changed files with 45 additions and 35 deletions

View File

@@ -12,6 +12,7 @@ RUN apt-get update && apt-get install -y jq
COPY . .
# Check if "headless" is set to "true" in the config.json file
# DELETE BELOW IF YOU WANT TO RUN THE DOCKER SCRIPT HEADFULL!
RUN HEADLESS=$(cat src/config.json | jq -r .headless) \
&& if [ "$HEADLESS" != "true" ]; then \
echo "Error: 'headless' in src/config.json is not true."; \