diff --git a/Dockerfile b/Dockerfile index 468e189e1..5e682f89b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -59,8 +59,6 @@ WORKDIR /app # gettext is required for envsubst RUN apk add --no-cache redis nginx bash gettext RUN mkdir /appdata -RUN mkdir /appdata/db -RUN mkdir /appdata/redis VOLUME /appdata RUN mkdir /secrets VOLUME /secrets diff --git a/scripts/run.sh b/scripts/run.sh index f53752502..bc4d9c9b1 100644 --- a/scripts/run.sh +++ b/scripts/run.sh @@ -1,3 +1,7 @@ +# Creating folders in volume +mkdir -p /appdata/db +mkdir -p /appdata/redis + # Run migrations if [ $DB_MIGRATIONS_DISABLED = "true" ]; then echo "DB migrations are disabled, skipping"