DeathDaDev commited on
Commit
e3f7c3a
1 Parent(s): f780aa2

fix: create app directory before writing start.sh in Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -10,6 +10,7 @@ RUN apt-get update && \
10
 
11
  # Install Flask and set up the entry point
12
  RUN pip3 install flask && \
 
13
  echo "flask run --host=0.0.0.0 --port=5000" > /home/user/app/start.sh && \
14
  chmod +x /home/user/app/start.sh
15
 
 
10
 
11
  # Install Flask and set up the entry point
12
  RUN pip3 install flask && \
13
+ mkdir -p /home/user/app && \
14
  echo "flask run --host=0.0.0.0 --port=5000" > /home/user/app/start.sh && \
15
  chmod +x /home/user/app/start.sh
16