basitanwer commited on
Commit
33cbfcd
1 Parent(s): d8de300

Updated user issues with docker.

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -9,9 +9,14 @@
9
 
10
  FROM rasa/rasa:2.7.1-spacy-en
11
 
 
 
12
  WORKDIR /opt/zir/hotel-bot
13
  COPY . /opt/zir/hotel-bot
14
 
 
 
 
15
  RUN rasa train
16
 
17
  ENV RASA_REST_PORT=5005
 
9
 
10
  FROM rasa/rasa:2.7.1-spacy-en
11
 
12
+ USER root
13
+
14
  WORKDIR /opt/zir/hotel-bot
15
  COPY . /opt/zir/hotel-bot
16
 
17
+ RUN chown rasa /opt/zir/hotel-bot
18
+ USER rasa
19
+
20
  RUN rasa train
21
 
22
  ENV RASA_REST_PORT=5005