blob: f7121d46e75e14cd874e9c40462c1c32443e4c59 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# TODO: Add proper metadata.
FROM debian:bookworm-slim
COPY app.ini /etc/forgejo/app.ini
COPY secrets/internal_token /etc/forgejo/internal_token
COPY secrets/lfs_jwt_secret /etc/forgejo/lfs_jwt_secret
COPY secrets/oauth2_jwt_secret /etc/forgejo/oauth2_jwt_secret
COPY secrets/secret_key /etc/forgejo/secret_key
COPY setup.sh /tmp/setup.sh
RUN ./tmp/setup.sh
USER git
EXPOSE 3000
CMD ["/usr/local/bin/forgejo", "-w", "/var/lib/forgejo", "-c", "/etc/forgejo/app.ini"]
|