diff --git a/Dockerfile.api b/Dockerfile.api index 3e64152a8..834b08549 100644 --- a/Dockerfile.api +++ b/Dockerfile.api @@ -33,4 +33,6 @@ LABEL org.opencontainers.image.description="Manage Free School Projects - API" COPY --from=build /app /app COPY ./script/api-docker-entrypoint.sh /app/docker-entrypoint.sh RUN ["chmod", "+x", "/app/docker-entrypoint.sh"] +RUN ["touch", "/app/SQL/DbMigrationScriptOutput.txt"] +RUN chown "$APP_UID" "/app/SQL" -R USER $APP_UID