docker deploy
This commit is contained in:
13
Dockerfile
Normal file
13
Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
FROM python:3.10-slim-buster
|
||||||
|
|
||||||
|
COPY requirements.txt /tmp/requirements.txt
|
||||||
|
|
||||||
|
RUN pip install -r /tmp/requirements.txt -i https://pypi.douban.com/simple
|
||||||
|
|
||||||
|
COPY . /app
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
RUN chmod +x ./start.sh
|
||||||
|
|
||||||
|
CMD ["./start.sh"]
|
||||||
Reference in New Issue
Block a user