Skip to content

Commit

Permalink
fix:修改docker配置
Browse files Browse the repository at this point in the history
  • Loading branch information
Tfh-Yqf committed Aug 4, 2024
1 parent 124e3dc commit ef2516e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ EXPOSE 8000
RUN sed -i 's/\r//' ./start.sh
# 给start.sh可执行权限
RUN chmod +x ./start.sh
CMD ["sh", "-c", "[ ! -f /app/initialized ] && /app/init.sh; /bin/bash ./start.sh"]
CMD ["sh", "-c", "[ ! -f /app/initialized ] && /app/scripts/init_data.sh; /bin/bash ./start.sh"]

0 comments on commit ef2516e

Please sign in to comment.