ready to fly
This commit is contained in:
1 parent
0b5426a5d1
commit
18c756ae0f
5 files changed
+28
-5
No files matched your search
+17
@@ -0,0 +1,17 @@
|
||||
FROM python:3.12-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
COPY requirements.txt /app
|
||||
|
||||
RUN pip config set global.index-url https://mirrors.ustc.edu.cn/pypi/web/simple
|
||||
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . /app
|
||||
|
||||
RUN chmod +x /app/entrypoint.sh
|
||||
|
||||
ENTRYPOINT [ "/app/entrypoint.sh" ]
|
||||
Reference in new issue
Block a user