Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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"
|