Commit f46ba8b4 authored by xianyang's avatar xianyang

上传docker-conpose文件

parent f0623f78
FROM python:3.8.8
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple && rm -rf requirements.txt
RUN mkdir /financial-system
WORKDIR /financial-system
\ No newline at end of file
version: "3"
services:
app:
restart: always
container_name: financial-system
build: .
ports:
- "8001:8001"
volumes:
- /www/wwwroot/financial-system/:/financial-system/
stdin_open: true
command: python main.py
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment