File tree Expand file tree Collapse file tree 3 files changed +54
-1
lines changed Expand file tree Collapse file tree 3 files changed +54
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Docker Build
2
+ on : [push, pull_request]
3
+
4
+ permissions :
5
+ contents : read
6
+ packages : write
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Docker Build
13
+ id : build
14
+ uses : luludotdev/docker-build@master
15
+ with :
16
+ image-name : yatb-site
17
+ token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ FROM node:22-alpine AS base
2
+ FROM base AS builder
3
+
4
+ WORKDIR /app
5
+ COPY package.json package-lock.json tsconfig.json ./
6
+ RUN npm ci
7
+
8
+ COPY src/ src/
9
+ RUN npm run build
10
+
11
+ FROM base AS deps
12
+ WORKDIR /app
13
+ COPY package.json package-lock.json ./
14
+ RUN npm ci --omit=dev
15
+
16
+ FROM base
17
+ WORKDIR /app
18
+
19
+ RUN \
20
+ addgroup --system --gid 1001 nodejs && \
21
+ adduser --system --uid 1001 nodejs
22
+
23
+ COPY --chown=1001:1001 assets/ ./assets
24
+ COPY --chown=1001:1001 package.json ./
25
+ COPY --chown=1001:1001 --from=deps /app/node_modules ./node_modules
26
+ COPY --chown=1001:1001 --from=builder /app/build ./build
27
+
28
+ USER nodejs
29
+ EXPOSE 3000
30
+ ENV NODE_ENV=production
31
+ ENV IS_DOCKER=true
32
+
33
+ CMD ["npm" , "run" , "start" ]
Original file line number Diff line number Diff line change @@ -27,7 +27,10 @@ <h1 class="text-3xl font-bold text-white">BSMG Ticket Transcripts</h1>
27
27
placeholder ="Search for username... " />
28
28
< select id ="filter-type "
29
29
class ="bg-gray-800 text-white rounded-lg py-2 px-4 focus:outline-none focus:ring-2 focus:ring-indigo-600 ">
30
- < option value =""> Filter by Type</ option >
30
+ < option value ="Ban "> Ban</ option >
31
+ < option value ="Mute "> Mute</ option >
32
+ < option value ="Unhelpable "> Unhelpable</ option >
33
+ < option value ="Unrequestable "> Unrequestable</ option >
31
34
<!-- Add more options and values here to your needs -->
32
35
</ select >
33
36
</ div >
You can’t perform that action at this time.
0 commit comments