feat: publish CodexPi contest snapshot
Some checks are pending
Qualité / tests (push) Waiting to run
Some checks are pending
Qualité / tests (push) Waiting to run
This commit is contained in:
17
scripts/browser-entrypoint.sh
Normal file
17
scripts/browser-entrypoint.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
# Chromium writes these locks with the container hostname. After a Docker
|
||||
# recreation, that hostname changes and the persisted profile can no longer
|
||||
# start until the obsolete locks are removed.
|
||||
profile=/home/seluser/browser-profile
|
||||
if [ -d "$profile" ]; then
|
||||
rm -f \
|
||||
"$profile/SingletonCookie" \
|
||||
"$profile/SingletonLock" \
|
||||
"$profile/SingletonSocket" \
|
||||
"$profile/DevToolsActivePort" \
|
||||
"$profile/Default/LOCK"
|
||||
fi
|
||||
|
||||
exec /opt/bin/entry_point.sh "$@"
|
||||
Reference in New Issue
Block a user