MartinT commited on
Commit
b2ab574
1 Parent(s): acf7e1f

fix: Use proper build order.

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -3,9 +3,6 @@
3
 
4
  FROM python:3.9
5
 
6
- COPY requirements.txt .
7
- RUN pip install --no-cache-dir --upgrade -r requirements.txt
8
-
9
  RUN useradd -m -u 1000 user
10
  USER user
11
 
@@ -16,6 +13,8 @@ WORKDIR $HOME/app
16
 
17
  COPY --chown=user . $HOME/app
18
 
 
 
19
  ENV H2O_WAVE_LISTEN=":7860"
20
  ENV H2O_WAVE_ADDRESS='http://127.0.0.1:7860'
21
 
 
3
 
4
  FROM python:3.9
5
 
 
 
 
6
  RUN useradd -m -u 1000 user
7
  USER user
8
 
 
13
 
14
  COPY --chown=user . $HOME/app
15
 
16
+ RUN pip install --no-cache-dir --upgrade -r requirements.txt
17
+
18
  ENV H2O_WAVE_LISTEN=":7860"
19
  ENV H2O_WAVE_ADDRESS='http://127.0.0.1:7860'
20