VIN / Dockerfile
JSWAI's picture
Create Dockerfile
8b07c11 verified
Raw History Blame Contribute Delete
281 Bytes
FROM docker:27-dind
RUN apk add --no-cache python3 py3-pip
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY server.py .
ENV DOCKER_TLS_CERTDIR=""
EXPOSE 7860
CMD ["sh", "-c", "dockerd-entrypoint.sh & sleep 3 && python3 server.py"]