kisejin commited on
Commit
cda75b1
·
1 Parent(s): 01af839

Initial commit

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -5
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
  # Use an official Python runtime as a parent image
2
- FROM python:3.9
3
 
4
  RUN useradd -m -u 1000 user
5
  USER user
@@ -11,10 +11,6 @@ COPY --chown=user ./requirements.txt requirements.txt
11
 
12
 
13
  # Install system dependencies
14
- RUN apt-get update && apt-get install -y --no-install-recommends \
15
- build-essential \
16
- && rm -rf /var/lib/apt/lists/*
17
-
18
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
19
 
20
  # Copy the current directory contents into the container at /app
 
1
  # Use an official Python runtime as a parent image
2
+ FROM python:3.10.14
3
 
4
  RUN useradd -m -u 1000 user
5
  USER user
 
11
 
12
 
13
  # Install system dependencies
 
 
 
 
14
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
15
 
16
  # Copy the current directory contents into the container at /app