We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b170293 commit ccd3964Copy full SHA for ccd3964
.github/helpers/docker/docker-entrypoint.sh
@@ -32,9 +32,13 @@ if [ "${1}" = 'dev' -o "${1}" = "production" -o "${1:0:2}" = "--" ]; then
32
fi
33
34
CONFIG_FILE=/usr/lib/supertokens/config.yaml
35
+TEMP_LOCATION_WHEN_READONLY=/lib/supertokens/temp/
36
+mkdir -p $TEMP_LOCATION_WHEN_READONLY
37
38
+#required by JNA
39
+export _JAVA_OPTIONS=-Djava.io.tmpdir=$TEMP_LOCATION_WHEN_READONLY
40
#make sure the CLI knows which config file to pass to the core
-set -- "$@" --with-config="$CONFIG_FILE" --foreground
41
+set -- "$@" --with-config="$CONFIG_FILE" --with-temp-dir="$TEMP_LOCATION_WHEN_READONLY" --foreground
42
43
# check if no options has been passed to docker run
44
if [[ "$@" == "supertokens start" ]]
0 commit comments