121 / Dockerfile
ykl45's picture
Create Dockerfile
7fb51c2 verified
raw
history blame contribute delete
285 Bytes
FROM python:alpine
RUN apk update && apk add --no-cache git
RUN git clone https://github.com/renqabs/ca.git /ca
WORKDIR /app
RUN cp /ca/requirements.txt /app/
RUN pip install --no-cache-dir -U -r requirements.txt
RUN cp -r /ca/src/* /app/
EXPOSE 7860
CMD ["python", "aipro.py"]