Sébastien De Greef commited on
Commit
2c59aad
1 Parent(s): 68a97d2

chore: Update Dockerfile to fix copying of source files and set permissions for start_chatbot.sh

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -49,6 +49,7 @@ USER chatbot
49
 
50
  # Set HOME env variable
51
  ENV HOME=/home/chatbot
 
52
  # Create the .cache and .config directories and set permissions
53
  RUN mkdir $HOME/.cache $HOME/.config && chmod -R 777 $HOME
54
 
@@ -62,6 +63,6 @@ RUN --mount=target=/root/on_startup.sh,source=on_startup.sh,readwrite bash /root
62
 
63
  USER chatbot
64
 
65
- COPY --chown=chatbot src src
66
 
67
- RUN chmod +x src/start_chatbot.sh
 
49
 
50
  # Set HOME env variable
51
  ENV HOME=/home/chatbot
52
+
53
  # Create the .cache and .config directories and set permissions
54
  RUN mkdir $HOME/.cache $HOME/.config && chmod -R 777 $HOME
55
 
 
63
 
64
  USER chatbot
65
 
66
+ COPY --chown=chatbot src .
67
 
68
+ RUN chmod +x start_chatbot.sh