gitea-server / Dockerfile
Adoption's picture
Update Dockerfile
d5e9a44 verified
raw
history blame contribute delete
319 Bytes
FROM gitea/gitea:latest
USER root
# FORCE CLEAN STATE EVERY START
RUN rm -rf /data/gitea/*
RUN mkdir -p /data/gitea/conf && chown -R git:git /data
COPY app.ini /data/gitea/conf/app.ini
RUN chown -R git:git /data/gitea
USER git
ENV USER_UID=1000
ENV USER_GID=1000
EXPOSE 3000
CMD ["/usr/local/bin/gitea", "web"]