samu commited on
Commit
390e337
·
1 Parent(s): b67e3a6
Files changed (1) hide show
  1. Dockerfile +5 -6
Dockerfile CHANGED
@@ -1,12 +1,11 @@
1
  FROM python:3.9
2
- WORKDIR /code
3
 
4
- # Install dependencies
5
- COPY ./requirements.txt /code/requirements.txt
6
- RUN pip install --no-cache --upgrade -r /code/requirements.txt
7
 
8
- # Copy application code
9
- COPY ./backend /code/backend
10
 
11
  # Set up a new user named "user" with user ID 1000
12
  RUN useradd -m -u 1000 user
 
1
  FROM python:3.9
 
2
 
3
+ COPY . .
4
+
5
+ WORKDIR /
6
 
7
+ # Install dependencies
8
+ RUN pip install --no-cache --upgrade -r /requirements.txt
9
 
10
  # Set up a new user named "user" with user ID 1000
11
  RUN useradd -m -u 1000 user