MartinT commited on
Commit
9f1d32d
1 Parent(s): 4222273

fix: Add a proper user.

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -0
Dockerfile CHANGED
@@ -3,6 +3,13 @@
3
 
4
  FROM python:3.9
5
 
 
 
 
 
 
 
 
6
  RUN pip install h2o-wave h2o-wave-university
7
 
8
  ENV H2O_WAVE_LISTEN=":7860"
 
3
 
4
  FROM python:3.9
5
 
6
+ RUN useradd -m -u 1000 user
7
+ USER user
8
+ ENV HOME=/home/user
9
+ ENV PATH=/home/user/.local/bin:$PATH
10
+
11
+ WORKDIR $HOME/app
12
+
13
  RUN pip install h2o-wave h2o-wave-university
14
 
15
  ENV H2O_WAVE_LISTEN=":7860"