asv7j commited on
Commit
fe5878a
·
verified ·
1 Parent(s): f4f0d93

Update Dockerfile

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