ch2a / Dockerfile
ykl45's picture
Create Dockerfile
77a458b verified
raw
history blame
252 Bytes
FROM python:3.11-slim
RUN apt-get update && apt-get install -y git
RUN git clone https://github.com/renqabs/img_test.git /app
WORKDIR /app
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 5005
ENV MY_NAME="yyds"
CMD ["python", "app.py"]