File size: 621 Bytes
c13e9b8 ccf87f6 c13e9b8 ccf87f6 2ee074e ccf87f6 c13e9b8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | FROM mcr.microsoft.com/dotnet/sdk:8.0
WORKDIR /app
RUN apt-get update && apt-get install -y python3 python3-pip wget unzip
COPY requirements.txt .
RUN pip3 install --no-cache-dir -r requirements.txt --break-system-packages
# Senin bulduğun o harika doğrudan link! API limitlerine takılmadan saniyeler içinde inecek.
RUN wget -qO umt.zip "https://github.com/UnderminersTeam/UndertaleModTool/releases/download/0.9.0.0/UTMT_CLI_v0.9.0.0-Ubuntu.zip" && \
unzip -q umt.zip -d umt && \
rm umt.zip && \
chmod -R +x umt/
COPY . .
EXPOSE 7860
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|