Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +5 -3
Dockerfile
CHANGED
|
@@ -1,11 +1,13 @@
|
|
| 1 |
FROM ubuntu:24.04
|
| 2 |
|
| 3 |
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
|
|
| 4 |
|
| 5 |
-
#
|
| 6 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 7 |
curl ca-certificates sudo bash xvfb fluxbox x11vnc novnc websockify \
|
| 8 |
-
|
| 9 |
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
|
| 10 |
&& apt-get install -y nodejs \
|
| 11 |
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
|
@@ -13,7 +15,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
| 13 |
RUN useradd -m -s /bin/bash hfuser && echo "hfuser ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
|
| 14 |
WORKDIR /app
|
| 15 |
|
| 16 |
-
# NoVNC সেটআপ
|
| 17 |
RUN cp /usr/share/novnc/vnc.html /usr/share/novnc/index.html
|
| 18 |
|
| 19 |
COPY package.json server.js login.html start.sh ./
|
|
|
|
| 1 |
FROM ubuntu:24.04
|
| 2 |
|
| 3 |
ENV DEBIAN_FRONTEND=noninteractive
|
| 4 |
+
ENV TZ=Asia/Dhaka
|
| 5 |
+
ENV USER=hfuser
|
| 6 |
|
| 7 |
+
# প্রয়োজনীয় গ্রাফিক্স টুলস এবং একটি কাজ করার মতো ব্রাউজার (Epiphany) ও টার্মিনাল ইন্সটল
|
| 8 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 9 |
curl ca-certificates sudo bash xvfb fluxbox x11vnc novnc websockify \
|
| 10 |
+
epiphany-browser xterm python3 \
|
| 11 |
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
|
| 12 |
&& apt-get install -y nodejs \
|
| 13 |
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
|
|
|
| 15 |
RUN useradd -m -s /bin/bash hfuser && echo "hfuser ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
|
| 16 |
WORKDIR /app
|
| 17 |
|
| 18 |
+
# NoVNC ডিফল্ট পেজ সেটআপ
|
| 19 |
RUN cp /usr/share/novnc/vnc.html /usr/share/novnc/index.html
|
| 20 |
|
| 21 |
COPY package.json server.js login.html start.sh ./
|