Back to postdeploy
Release overrides the entrypoint.
This commit is contained in:
parent
1907e7c19b
commit
4eb972c703
@ -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
|
||||||
|
7
app.json
7
app.json
@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user