asv7j commited on
Commit
16b4a9e
·
verified ·
1 Parent(s): 3512ad1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -1,14 +1,15 @@
1
  # Use the official Python image from the Docker Hub
2
  FROM python:3.9
3
-
 
4
  # Create a new user and set permissions
5
  RUN useradd -m -u 1000 user
6
  USER user
7
-
8
  # Set environment variables
9
  ENV PATH="/home/user/.local/bin:$PATH"
10
  WORKDIR /code
11
-
12
  RUN pip install libretranslate waitress
13
 
14
  # Copy the application code
 
1
  # Use the official Python image from the Docker Hub
2
  FROM python:3.9
3
+ run cat /proc/cpuinfo
4
+ run cat /proc/meminfo
5
  # Create a new user and set permissions
6
  RUN useradd -m -u 1000 user
7
  USER user
8
+ run cat /proc/cpuinfo
9
  # Set environment variables
10
  ENV PATH="/home/user/.local/bin:$PATH"
11
  WORKDIR /code
12
+ run cat /proc/cpuinfo
13
  RUN pip install libretranslate waitress
14
 
15
  # Copy the application code