games / Dockerfile
xlnk11's picture
Create Dockerfile
d424647 verified
raw
history blame contribute delete
667 Bytes
FROM python:3.10-slim
WORKDIR /app
RUN apt-get update && \
apt-get install -y git && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Clone into separate subdirectories
RUN git clone --depth 1 --single-branch https://github.com/trejduu32-code/playables.git ./playables && \
git clone --depth 1 --single-branch https://github.com/bubbls/UGS-Assets.git ./ugs-assets
# Create a simple index page to navigate between repos
RUN echo '<html><body><h1>Repositories</h1><ul><li><a href="/playables">Playables</a></li><li><a href="/ugs-assets">UGS Assets</a></li></ul></body></html>' > index.html
EXPOSE 7860
CMD ["python", "-m", "http.server", "7860"]