proxy / Dockerfile
omrahm's picture
Update Dockerfile
cff4598 verified
raw
history blame contribute delete
307 Bytes
FROM python:3.11
RUN apt-get install -y git
WORKDIR /app
RUN --mount=type=secret,id=GITHUB,mode=0444,required=true \
GITHUB=$(cat /run/secrets/GITHUB) && \
git clone https://${GITHUB}@github.com/omrahm/proxy.git /app
RUN pip install -r requirements.txt
EXPOSE 7860
CMD [ "python3", "index.py" ]