This repository was archived by the owner on Dec 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +52
-0
lines changed
Expand file tree Collapse file tree 3 files changed +52
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM node:current-alpine3.22@sha256:51dbfc749ec3018c7d4bf8b9ee65299ff9a908e38918ce163b0acfcd5dd931d9 AS base
2+
3+ ENV GAMJA_VERSION="1.0.0-beta.11"
4+
5+ LABEL maintainer="AllThingsLinux IRC Infrastructure" \
6+ description="UnrealIRCd WebPanel - Web-based administration interface" \
7+ version="1.0.0" \
8+ org.opencontainers.image.source="https://github.com/allthingslinux/irc.atl.chat"
9+
10+ RUN addgroup -S gamja && \
11+ adduser -S -G gamja gamja
12+
13+ FROM base AS builder
14+
15+ RUN mkdir -p /var/www/html && \
16+ chgrp gamja /var/www/html && \
17+ chmod 775 /var/www/html
18+
19+ WORKDIR /var/www/html
20+
21+ USER gamja:gamja
22+
23+ RUN wget -q https://codeberg.org/emersion/gamja/archive/v${GAMJA_VERSION}.tar.gz && \
24+ tar xvf v${GAMJA_VERSION}.tar.gz
25+
26+ WORKDIR /var/www/html/gamja
27+
28+ RUN npm install --omit=dev
29+
30+ FROM base AS dev
31+
32+ COPY --from=builder --chown=gamja:gamja /var/www/html/gamja/ /var/www/html/gamja
Original file line number Diff line number Diff line change 1+ {
2+ "server" : {
3+ "url" : " wss://irc.example.org" ,
4+ "autojoin" : " #gamja"
5+ },
6+ "oauth2" : {
7+ "url" : " https://auth.example.org" ,
8+ "client_id" : " asdf"
9+ }
10+ }
Original file line number Diff line number Diff line change 1+ {
2+ "server" : {
3+ "url" : " wss://irc.example.org" ,
4+ "autojoin" : " #gamja"
5+ },
6+ "oauth2" : {
7+ "url" : " https://auth.example.org" ,
8+ "client_id" : " asdf"
9+ }
10+ }
You can’t perform that action at this time.
0 commit comments