doltd1no commited on
Commit
2e70950
·
verified ·
1 Parent(s): 89087b9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -7
Dockerfile CHANGED
@@ -5,23 +5,19 @@ ENV PUID=1000
5
  ENV PGID=1000
6
  ENV TZ=Etc/UTC
7
 
8
- # 2. Login Details
9
- ENV CUSTOM_USER=admin
10
- ENV PASSWORD=chrome
11
-
12
- # 3. KasmVNC Settings
13
  ENV KASM_PORT=3000
14
  ENV TITLE="Chromium WebGL"
15
  ENV FM_HOME=/config
16
 
17
- # 4. FLAGS TO ENABLE WEBGL (The Fix)
18
  # --use-gl=swiftshader: Forces Chrome to use CPU for 3D graphics (SwiftShader).
19
  # --enable-webgl: explicitly turns it on.
20
  # --ignore-gpu-blocklist: Forces Chrome to ignore the fact that there is no real GPU.
21
  # We REMOVED '--disable-gpu' and '--disable-software-rasterizer'.
22
  ENV CHROME_CLI="--no-sandbox --disable-dev-shm-usage --use-gl=swiftshader --enable-webgl --ignore-gpu-blocklist --disable-features=DnsOverHttpsUpgrade --dns-result-order=ipv4first"
23
 
24
- # 5. Permission Fix (Prevents Crash Loop)
25
  RUN mkdir -p /config && \
26
  chown -R 1000:1000 /config && \
27
  chmod -R 777 /config
 
5
  ENV PGID=1000
6
  ENV TZ=Etc/UTC
7
 
8
+ # 2. KasmVNC Settings
 
 
 
 
9
  ENV KASM_PORT=3000
10
  ENV TITLE="Chromium WebGL"
11
  ENV FM_HOME=/config
12
 
13
+ # 3. FLAGS TO ENABLE WEBGL (The Fix)
14
  # --use-gl=swiftshader: Forces Chrome to use CPU for 3D graphics (SwiftShader).
15
  # --enable-webgl: explicitly turns it on.
16
  # --ignore-gpu-blocklist: Forces Chrome to ignore the fact that there is no real GPU.
17
  # We REMOVED '--disable-gpu' and '--disable-software-rasterizer'.
18
  ENV CHROME_CLI="--no-sandbox --disable-dev-shm-usage --use-gl=swiftshader --enable-webgl --ignore-gpu-blocklist --disable-features=DnsOverHttpsUpgrade --dns-result-order=ipv4first"
19
 
20
+ # 4. Permission Fix (Prevents Crash Loop)
21
  RUN mkdir -p /config && \
22
  chown -R 1000:1000 /config && \
23
  chmod -R 777 /config