Back to postdeploy

Release overrides the entrypoint.
This commit is contained in:
Luke Murphy 2020-03-12 19:28:08 +01:00
parent 1907e7c19b
commit 4eb972c703
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
4 changed files with 8 additions and 3 deletions

View File

@ -3,6 +3,7 @@ FROM gitea/gitea:1.11.2
COPY . ${WORKDIR} COPY . ${WORKDIR}
RUN mkdir -p /app/ RUN mkdir -p /app/
COPY release.sh /app/
COPY postdeploy.sh /app/
EXPOSE 3000 EXPOSE 3000

View File

@ -1 +0,0 @@
release: bash /app/release.sh

View File

@ -1,5 +1,10 @@
{ {
"name": "gitea", "name": "gitea",
"description": "Gitea is a painless self-hosted Git service.", "description": "Gitea is a painless self-hosted Git service.",
"repository": "https://gitlab.com/autonomic-cooperative/gitea-dokku" "repository": "https://gitlab.com/autonomic-cooperative/gitea-dokku",
"scripts": {
"dokku": {
"postdeploy": "bash /app/postdeploy.sh"
}
}
} }