Spaces:
Sleeping
Sleeping
Install libgomp1 system dependency for PaddlePaddle
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -4,6 +4,8 @@ FROM python:3.8-slim
|
|
| 4 |
# Thiết lập thư mục làm việc bên trong container
|
| 5 |
WORKDIR /code
|
| 6 |
|
|
|
|
|
|
|
| 7 |
# Sao chép file requirements.txt vào trước để tận dụng cache của Docker
|
| 8 |
COPY ./requirements.txt /code/requirements.txt
|
| 9 |
|
|
|
|
| 4 |
# Thiết lập thư mục làm việc bên trong container
|
| 5 |
WORKDIR /code
|
| 6 |
|
| 7 |
+
RUN apt-get update && apt-get install -y libgomp1 && rm -rf /var/lib/apt/lists/*
|
| 8 |
+
|
| 9 |
# Sao chép file requirements.txt vào trước để tận dụng cache của Docker
|
| 10 |
COPY ./requirements.txt /code/requirements.txt
|
| 11 |
|