P01yH3dr0n commited on
Commit
7a0c0c0
·
verified ·
1 Parent(s): 4383881

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -45,9 +45,9 @@ RUN \
45
  chmod +x "./docker-entrypoint.sh" && \
46
  echo "*** Convert line endings to Unix format ***" && \
47
  dos2unix "./docker-entrypoint.sh"
48
- RUN sed -i "s/# Start the server/\"\/home\/node\/app\/launch.sh\" env \&\& \"\/home\/node\/app\/launch.sh\" init/g" docker-entrypoint.sh
49
  RUN chmod -R 777 ${APP_HOME}
50
 
51
  EXPOSE 7860
52
 
53
- CMD [ "./docker-entrypoint.sh" ]
 
45
  chmod +x "./docker-entrypoint.sh" && \
46
  echo "*** Convert line endings to Unix format ***" && \
47
  dos2unix "./docker-entrypoint.sh"
48
+
49
  RUN chmod -R 777 ${APP_HOME}
50
 
51
  EXPOSE 7860
52
 
53
+ CMD [ "./launch.sh env && ./launch.sh init && ./docker-entrypoint.sh" ]