gamemaker / Dockerfile
Cnass's picture
Update Dockerfile
ccf87f6 verified
Raw History Blame Contribute Delete
621 Bytes
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"]