stillerman commited on
Commit
d23662b
·
1 Parent(s): 8de92d1
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -1,5 +1,9 @@
1
  FROM python:3.9
2
 
 
 
 
 
3
  # Set up a new user named "user" with user ID 1000
4
  RUN useradd -m -u 1000 user
5
 
@@ -13,10 +17,6 @@ ENV HOME=/home/user \
13
  # Set the working directory to the user's home directory
14
  WORKDIR $HOME/app
15
 
16
- # install nodejs
17
- ENV PYTHONUNBUFFERED 1
18
- RUN apt-get update && apt-get install nodejs
19
-
20
  COPY requirements.txt .
21
 
22
  # Try and run pip command after setting the user with `USER user` to avoid permission issues with Python
 
1
  FROM python:3.9
2
 
3
+ # install nodejs
4
+ ENV PYTHONUNBUFFERED 1
5
+ RUN apt-get update && apt-get install nodejs
6
+
7
  # Set up a new user named "user" with user ID 1000
8
  RUN useradd -m -u 1000 user
9
 
 
17
  # Set the working directory to the user's home directory
18
  WORKDIR $HOME/app
19
 
 
 
 
 
20
  COPY requirements.txt .
21
 
22
  # Try and run pip command after setting the user with `USER user` to avoid permission issues with Python