Spaces:
Paused
Paused
xukc commited on
Commit ·
9f31b8e
1
Parent(s): 83607bc
[fix]Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -8,6 +8,8 @@ WORKDIR /app
|
|
| 8 |
COPY . .
|
| 9 |
|
| 10 |
# Install necessary dependencies
|
|
|
|
|
|
|
| 11 |
RUN apt-get update && apt-get install -y g++ libhv-dev
|
| 12 |
|
| 13 |
# Compile the C++ program
|
|
|
|
| 8 |
COPY . .
|
| 9 |
|
| 10 |
# Install necessary dependencies
|
| 11 |
+
RUN sed -i 's/http:\/\/archive.ubuntu.com\/ubuntu\//http:\/\/mirrors.aliyun.com\/ubuntu\//g' /etc/apt/sources.list
|
| 12 |
+
RUN apt-get update
|
| 13 |
RUN apt-get update && apt-get install -y g++ libhv-dev
|
| 14 |
|
| 15 |
# Compile the C++ program
|