Spaces:
Runtime error
Runtime error
Download Dockerfile from Adoption/gitea-server: direct link, hf CLI and curl.
- Browser
- Download file 319 Bytes
-
https://huggingface.co/spaces/Adoption/gitea-server/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Adoption/gitea-server/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Adoption/gitea-server/resolve/main/Dockerfile
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"] |