run in docker behind nginx-proxy
This commit is contained in:
+20
@@ -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
|
||||
Reference in New Issue
Block a user