Skip to content
This repository was archived by the owner on Dec 31, 2022. It is now read-only.

Commit a5b5877

Browse files
author
Lao-Liu233
committed
修正docker编译错误
1 parent 166eba0 commit a5b5877

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ MAINTAINER Lao_Liu
44

55
RUN /bin/bash
66
RUN cd /root \
7-
&& apt update \
8-
&& apt -y install git \
7+
# && apt update \
8+
# && apt -y install git \
99
&& git clone https://github.com/Lao-Liu233/FZYZ_JK_Grades.git \
1010
&& cd /root/FZYZ_JK_Grades \
1111
&& pip3 install -r requirements.txt

runserver.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
uwsgi --master --http 0.0.0.0:8000 --chdir ./API/ --module fzyz.wsgi
1+
#!/bin/bash
2+
uwsgi --master --http 0.0.0.0:8000 --chdir /root/FZYZ_JK_Grades/API/ --module fzyz.wsgi

0 commit comments

Comments
 (0)