Update Dockerfile
Browse files- Dockerfile +3 -4
Dockerfile
CHANGED
@@ -1,4 +1,7 @@
|
|
1 |
FROM nvidia/cuda:11.8.0-devel-ubuntu22.04
|
|
|
|
|
|
|
2 |
# Set up a new user named "user" with user ID 1000
|
3 |
RUN useradd -m -u 1000 user
|
4 |
# Switch to the "user" user
|
@@ -13,10 +16,6 @@ WORKDIR $HOME/app
|
|
13 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
14 |
COPY --chown=user . $HOME/app
|
15 |
|
16 |
-
# Install necessary packages
|
17 |
-
RUN apt update && apt install git build-essential libopenblas-dev wget python3-pip -y
|
18 |
-
RUN apt update && apt install -y wget
|
19 |
-
|
20 |
# Set up the working directory
|
21 |
ARG MODEL_PART_A
|
22 |
ARG MODEL_PART_B
|
|
|
1 |
FROM nvidia/cuda:11.8.0-devel-ubuntu22.04
|
2 |
+
# Install necessary packages
|
3 |
+
RUN apt update && apt install git build-essential libopenblas-dev wget python3-pip -y
|
4 |
+
RUN apt update && apt install -y wget
|
5 |
# Set up a new user named "user" with user ID 1000
|
6 |
RUN useradd -m -u 1000 user
|
7 |
# Switch to the "user" user
|
|
|
16 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
17 |
COPY --chown=user . $HOME/app
|
18 |
|
|
|
|
|
|
|
|
|
19 |
# Set up the working directory
|
20 |
ARG MODEL_PART_A
|
21 |
ARG MODEL_PART_B
|