Paolo-Fraccaro
commited on
Commit
•
7f85743
1
Parent(s):
6c469a0
fix wget
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -10,15 +10,17 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
|
|
10 |
wget \
|
11 |
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
12 |
|
|
|
13 |
WORKDIR /code
|
14 |
|
15 |
COPY ./requirements.txt /code/requirements.txt
|
16 |
|
17 |
# add conda
|
18 |
-
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh /code/
|
19 |
RUN chmod 777 /code/Miniconda3-latest-Linux-x86_64.sh
|
20 |
|
21 |
|
|
|
22 |
# Set up a new user named "user" with user ID 1000
|
23 |
RUN useradd -m -u 1000 user
|
24 |
# Switch to the "user" user
|
|
|
10 |
wget \
|
11 |
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
12 |
|
13 |
+
|
14 |
WORKDIR /code
|
15 |
|
16 |
COPY ./requirements.txt /code/requirements.txt
|
17 |
|
18 |
# add conda
|
19 |
+
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -P /code/
|
20 |
RUN chmod 777 /code/Miniconda3-latest-Linux-x86_64.sh
|
21 |
|
22 |
|
23 |
+
|
24 |
# Set up a new user named "user" with user ID 1000
|
25 |
RUN useradd -m -u 1000 user
|
26 |
# Switch to the "user" user
|