Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -64,13 +64,13 @@ RUN apt-get update && \
|
|
| 64 |
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1
|
| 65 |
|
| 66 |
# set working directory
|
| 67 |
-
|
| 68 |
|
| 69 |
# install dependencies
|
| 70 |
-
|
| 71 |
|
| 72 |
# install python dependencies (if any)
|
| 73 |
-
COPY
|
| 74 |
RUN python3 -m venv venv && \
|
| 75 |
. venv/bin/activate && \
|
| 76 |
pip install --no-cache-dir -r requirements.txt
|
|
|
|
| 64 |
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1
|
| 65 |
|
| 66 |
# set working directory
|
| 67 |
+
WORKDIR /app
|
| 68 |
|
| 69 |
# install dependencies
|
| 70 |
+
RUN chmod -R 777 /app
|
| 71 |
|
| 72 |
# install python dependencies (if any)
|
| 73 |
+
COPY . $WORKDIR
|
| 74 |
RUN python3 -m venv venv && \
|
| 75 |
. venv/bin/activate && \
|
| 76 |
pip install --no-cache-dir -r requirements.txt
|