Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -2,15 +2,15 @@ FROM continuumio/miniconda3
|
|
| 2 |
|
| 3 |
RUN useradd -m -u 1000 user
|
| 4 |
WORKDIR /usr/src/app
|
| 5 |
-
COPY --link --chown=1000 ./ /usr/src/app
|
| 6 |
-
|
| 7 |
-
COPY . .
|
| 8 |
|
| 9 |
# install dependcies
|
| 10 |
RUN conda install -y pandas numpy scikit-learn
|
| 11 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 12 |
|
| 13 |
#if you need to download executable and run them switch to the default non-root user
|
|
|
|
|
|
|
|
|
|
| 14 |
USER user
|
| 15 |
|
| 16 |
#do not modify below
|
|
|
|
| 2 |
|
| 3 |
RUN useradd -m -u 1000 user
|
| 4 |
WORKDIR /usr/src/app
|
|
|
|
|
|
|
|
|
|
| 5 |
|
| 6 |
# install dependcies
|
| 7 |
RUN conda install -y pandas numpy scikit-learn
|
| 8 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 9 |
|
| 10 |
#if you need to download executable and run them switch to the default non-root user
|
| 11 |
+
COPY --link --chown=1000 ./ /usr/src/app
|
| 12 |
+
COPY . .
|
| 13 |
+
|
| 14 |
USER user
|
| 15 |
|
| 16 |
#do not modify below
|