diff --git a/Dockerfile b/Dockerfile index 7f49eea..bacf22c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,6 @@ FROM gitea/gitea:1.11.2 COPY . ${WORKDIR} RUN mkdir -p /app/ -COPY postdeploy.sh /app/ +COPY release.sh /app/ EXPOSE 3000 diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..2a613ac --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +release: bash /app/release.sh diff --git a/app.json b/app.json index bc7d1d3..d6c97eb 100644 --- a/app.json +++ b/app.json @@ -1,6 +1,5 @@ { "name": "gitea", "description": "Gitea is a painless self-hosted Git service.", - "repository": "https://gitlab.com/autonomic-cooperative/gitea-dokku", - "scripts": { "dokku": { "postdeploy": "bash /app/postdeploy.sh" } } + "repository": "https://gitlab.com/autonomic-cooperative/gitea-dokku" } diff --git a/postdeploy.sh b/release.sh similarity index 100% rename from postdeploy.sh rename to release.sh