run in docker behind nginx-proxy

This commit is contained in:
2020-07-25 22:33:42 +03:00
parent 67f97309f6
commit 6d378689dd
6 changed files with 51 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
FROM debian:10
ENV TERM=xterm \
TZ=Europe/Sofia \
DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
git \
screen \
&& rm -rf /var/lib/apt/lists/*
RUN groupadd gitea -g 1000 \
&& useradd -u 1000 -g 1000 -m gitea -d /app
EXPOSE 3000
USER gitea
CMD /app/gitea