GitHub Actions commited on
Commit
9f02f14
Β·
0 Parent(s):

Sync with latest main branch

Browse files
Files changed (2) hide show
  1. Dockerfile +21 -0
  2. README.md +9 -0
Dockerfile ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Nothing to see here...
2
+ # Just another container passing by...
3
+ # But hey, you found an Easter egg! πŸ₯š
4
+
5
+ FROM oven/bun:1.2.4-debian
6
+
7
+ RUN apt-get update -qq && apt-get install -qq -y git ffmpeg aria2
8
+
9
+ ADD https://httpbin.org/uuid v.json
10
+
11
+ RUN --mount=type=secret,id=GIT_REPO,mode=0444,required=true \
12
+ git clone $(cat /run/secrets/GIT_REPO) /usr/src/app
13
+
14
+ WORKDIR /usr/src/app
15
+ RUN chmod -R 777 /usr/src/app
16
+
17
+ ENV NODE_ENV=production
18
+ RUN bun install --production --no-save
19
+ RUN bun run build
20
+
21
+ ENTRYPOINT [ "bun", "run", "start" ]
README.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: 'Hugstream Remote'
3
+ emoji: 'πŸ‘Œ'
4
+ colorFrom: 'gray'
5
+ colorTo: 'gray'
6
+ sdk: 'docker'
7
+ app_port: 3000
8
+ startup_duration_timeout: '5m'
9
+ ---