ivasms-api / Dockerfile
FarelDeveloper's picture
Update Dockerfile
608b8df verified
Raw
History Blame Contribute Delete
321 Bytes
FROM python:3.11-slim
WORKDIR /app
# install git
RUN apt-get update && apt-get install -y git
# clone repo
RUN git clone https://github.com/JadenAfrix1/IVASMS.git .
# install dependencies
RUN pip install --no-cache-dir -r requirements.txt
ENV PORT=7860
ENV PYTHONUNBUFFERED=1
EXPOSE 7860
CMD ["python", "index.py"]