File size: 667 Bytes
d424647
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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"]