From aa4a1cbe72ffb81ae8d9495a2d0d4c3559726c0b Mon Sep 17 00:00:00 2001 From: awieczarek Date: Sat, 19 Oct 2024 13:11:55 +0200 Subject: [PATCH] heroku yml --- Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..467259b --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM gitea/gitea:1.14.5-rootless + +ENV GITEA__database__DB_TYPE=postgres +ENV GITEA__database__HOST=${DATABASE_HOST} +ENV GITEA__database__NAME=${DATABASE_DB} +ENV GITEA__database__USER=${DATABASE_USER} +ENV GITEA__database__PASSWD=${DATABASE_PASSWORD} + +ENTRYPOINT ["/bin/su-exec", "git", "/app/gitea/gitea"] +CMD ["web"] +