init
This commit is contained in:
19
vw-document-ai-indexer/Dockerfile
Normal file
19
vw-document-ai-indexer/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM acraiflowlab.azurecr.io/python:3.12-bullseye
|
||||
|
||||
RUN echo “Asia/Shanghai” > /etc/timezone
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt /app/
|
||||
|
||||
RUN pip install --no-cache-dir -r requirements.txt -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
|
||||
|
||||
COPY ./*.py /app
|
||||
|
||||
|
||||
# RUN rm -f /app/env.yaml
|
||||
# RUN rm -f /app/config.yaml
|
||||
|
||||
|
||||
ENTRYPOINT ["python", "main.py"]
|
||||
|
||||
Reference in New Issue
Block a user