Spaces:
Running
Running
simonduerr
commited on
Commit
•
4008e46
1
Parent(s):
b02272e
Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -3,13 +3,15 @@ FROM continuumio/miniconda3
|
|
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 |
|
|
|
3 |
RUN useradd -m -u 1000 user
|
4 |
WORKDIR /usr/src/app
|
5 |
|
6 |
+
COPY --link --chown=1000 ./ /usr/src/app
|
7 |
+
COPY . .
|
8 |
+
|
9 |
+
|
10 |
# install dependcies
|
11 |
RUN conda install -y pandas numpy scikit-learn
|
12 |
RUN pip install --no-cache-dir -r requirements.txt
|
13 |
|
14 |
#if you need to download executable and run them switch to the default non-root user
|
|
|
|
|
15 |
|
16 |
USER user
|
17 |
|