mpsk commited on
Commit
a3a6c86
1 Parent(s): 48088f9
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,7 +1,7 @@
1
  # Use the official Python 3.9 image
2
  FROM python:3.9
3
 
4
- RUN apt-get update && apt-get install -y python3 python3-pip
5
 
6
  # Set the working directory to /code
7
  WORKDIR /code
@@ -18,7 +18,7 @@ RUN useradd -m -u 1000 user
18
  USER user
19
  # Set home to the user's home directory
20
  ENV HOME=/home/user \
21
- PATH=/home/user/.local/bin:$PATH
22
 
23
  # Set the working directory to the user's home directory
24
  WORKDIR $HOME/app
 
1
  # Use the official Python 3.9 image
2
  FROM python:3.9
3
 
4
+ RUN apt-get update -y && apt-get install -y build-essential
5
 
6
  # Set the working directory to /code
7
  WORKDIR /code
 
18
  USER user
19
  # Set home to the user's home directory
20
  ENV HOME=/home/user \
21
+ PATH=/home/user/.local/bin:/usr/local/bin/:$PATH
22
 
23
  # Set the working directory to the user's home directory
24
  WORKDIR $HOME/app