更新dockerfile
This commit is contained in:
parent
aea0c24dba
commit
42fd64df07
|
@ -4,4 +4,4 @@ COPY requirements.txt requirements.txt
|
||||||
RUN pip config set global.index-url http://mirrors.aliyun.com/pypi/simple && pip config set install.trusted-host mirrors.aliyun.com
|
RUN pip config set global.index-url http://mirrors.aliyun.com/pypi/simple && pip config set install.trusted-host mirrors.aliyun.com
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
COPY . ./
|
COPY . ./
|
||||||
CMD ["gunicorn", "-w", "4", "--bind", "0.0.0.0:3002", "app:app" ]
|
CMD ["gunicorn", "-w", "4", "--bind", "0.0.0.0:3002", "myapp:app" ]
|
||||||
|
|
Loading…
Reference in New Issue