Spaces:
Runtime error
Runtime error
Commit
·
b79a3d9
1
Parent(s):
ce2b31b
add chown option to docker file
Browse files- Dockerfile +6 -6
Dockerfile
CHANGED
|
@@ -18,13 +18,13 @@ RUN apt-get install ffmpeg libsm6 libxext6 -y
|
|
| 18 |
|
| 19 |
# -----------------------------------
|
| 20 |
# Copy required files from repo into image
|
| 21 |
-
COPY ./deepface /app/deepface
|
| 22 |
# even though we will use local requirements, this one is required to perform install deepface from source code
|
| 23 |
-
COPY ./requirements.txt /app/requirements.txt
|
| 24 |
-
COPY ./requirements_local /app/requirements_local.txt
|
| 25 |
-
COPY ./package_info.json /app/
|
| 26 |
-
COPY ./setup.py /app/
|
| 27 |
-
COPY ./README.md /app/
|
| 28 |
|
| 29 |
# -----------------------------------
|
| 30 |
# if you plan to use a GPU, you should install the 'tensorflow-gpu' package
|
|
|
|
| 18 |
|
| 19 |
# -----------------------------------
|
| 20 |
# Copy required files from repo into image
|
| 21 |
+
COPY --chown=user ./deepface /app/deepface
|
| 22 |
# even though we will use local requirements, this one is required to perform install deepface from source code
|
| 23 |
+
COPY --chown=user ./requirements.txt /app/requirements.txt
|
| 24 |
+
COPY --chown=user ./requirements_local /app/requirements_local.txt
|
| 25 |
+
COPY --chown=user ./package_info.json /app/
|
| 26 |
+
COPY --chown=user ./setup.py /app/
|
| 27 |
+
COPY --chown=user ./README.md /app/
|
| 28 |
|
| 29 |
# -----------------------------------
|
| 30 |
# if you plan to use a GPU, you should install the 'tensorflow-gpu' package
|