Spaces:
Sleeping
Sleeping
| FROM ubuntu:22.04 | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| RUN apt-get update && \ | |
| apt-get install -y openjdk-17-jre-headless python3 python3-pip && \ | |
| apt-get clean | |
| WORKDIR /app | |
| COPY plantuml.jar /app/plantuml.jar | |
| COPY index.html /app/index.html | |
| COPY proxy.py /app/proxy.py | |
| RUN pip3 install flask requests | |
| EXPOSE 7860 | |
| CMD sh -c "java -jar plantuml.jar -picoweb 127.0.0.1:9000 & python3 proxy.py" | |