Update Dockerfile
Browse files- Dockerfile +6 -3
Dockerfile
CHANGED
@@ -1,8 +1,11 @@
|
|
1 |
FROM ubuntu:22.04
|
2 |
-
|
3 |
-
|
4 |
-
RUN apt-get install python3-pip
|
|
|
|
|
5 |
RUN useradd -m -u 1001 user && mkdir -p /home/user/app/cache
|
|
|
6 |
RUN apt-get install -y git git-lfs ffmpeg libsm6 libxext6 cmake rsync libgl1-mesa-glx
|
7 |
RUN git lfs install
|
8 |
|
|
|
1 |
FROM ubuntu:22.04
|
2 |
+
|
3 |
+
# Install Python and necessary packages
|
4 |
+
RUN apt-get update && apt-get install -y python3.10 python3-pip
|
5 |
+
|
6 |
+
# Create a user and necessary directories
|
7 |
RUN useradd -m -u 1001 user && mkdir -p /home/user/app/cache
|
8 |
+
|
9 |
RUN apt-get install -y git git-lfs ffmpeg libsm6 libxext6 cmake rsync libgl1-mesa-glx
|
10 |
RUN git lfs install
|
11 |
|