Hugdu commited on
Commit
0954181
·
verified ·
1 Parent(s): cb9f51b

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +27 -0
Dockerfile ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ubuntu:22.04
2
+
3
+ ENV DEBIAN_FRONTEND=noninteractive
4
+
5
+ RUN apt-get update && apt-get install -y \
6
+ qemu-system-x86 \
7
+ qemu-utils \
8
+ python3 \
9
+ python3-pip \
10
+ wget \
11
+ git \
12
+ net-tools \
13
+ && rm -rf /var/lib/apt/lists/*
14
+
15
+ RUN pip3 install websockify
16
+
17
+ RUN cd /opt && git clone https://github.com/novnc/noVNC.git
18
+
19
+ WORKDIR /app
20
+
21
+ COPY main.py /app/main.py
22
+
23
+ RUN mkdir -p /app/android
24
+
25
+ EXPOSE 7860
26
+
27
+ CMD ["python3", "main.py"]