trinhvanhung commited on
Commit
0adaf07
·
verified ·
1 Parent(s): 7eb360a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -0
Dockerfile CHANGED
@@ -1,6 +1,19 @@
1
  FROM gitpod/workspace-node
2
 
 
 
3
 
 
 
 
 
 
 
 
 
 
 
 
4
 
5
  RUN npm install -g http-server
6
  # ENV PATH="/home/user/.local/bin:$PATH"
 
1
  FROM gitpod/workspace-node
2
 
3
+ # Chạy lệnh với quyền root
4
+ USER root
5
 
6
+ # Cài đặt các gói cần thiết
7
+ RUN apt-get update && apt-get install --no-install-recommends -y \
8
+ pcscd \
9
+ libpcsclite-dev \
10
+ python3 \
11
+ python3-setuptools \
12
+ python3-pycryptodome \
13
+ python3-pyscard \
14
+ python3-pip && \
15
+ apt-get clean && \
16
+ rm -rf /var/lib/apt/lists/*
17
 
18
  RUN npm install -g http-server
19
  # ENV PATH="/home/user/.local/bin:$PATH"