Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
FROM python:3.
|
2 |
#FROM nvidia/cuda:12.3.0-devel-ubuntu22.04
|
3 |
|
4 |
RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends \
|
@@ -15,7 +15,7 @@ WORKDIR /code
|
|
15 |
RUN chmod 777 .
|
16 |
|
17 |
COPY ./requirements.txt /code/requirements.txt
|
18 |
-
|
19 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
20 |
|
21 |
RUN useradd -m -u 1000 user
|
|
|
1 |
+
FROM python:3.12-slim-bullseye
|
2 |
#FROM nvidia/cuda:12.3.0-devel-ubuntu22.04
|
3 |
|
4 |
RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends \
|
|
|
15 |
RUN chmod 777 .
|
16 |
|
17 |
COPY ./requirements.txt /code/requirements.txt
|
18 |
+
RUN pip install --upgrade pip
|
19 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
20 |
|
21 |
RUN useradd -m -u 1000 user
|