CoolFace
Apppublic

a1warming/haloo

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
Dockerfile27 linesDownload Raw Back to root
1FROM eclipse-temurin:17-jre2 3WORKDIR /opt/halo4 5ENV TZ=Asia/Shanghai6ENV JVM_OPTS="-Xmx256m -Xms256m"7 8RUN apt-get update && \9    apt-get install -y wget python3 python3-venv python3-pip tar gzip  && \10    apt-get clean && \11    rm -rf /var/lib/apt/lists/*12 13RUN wget https://dl.halo.run/release/halo-2.19.3.jar -O halo.jar14 15RUN mkdir -p ~/.halo216 17ENV VIRTUAL_ENV=/opt/venv18RUN python3 -m venv $VIRTUAL_ENV19ENV PATH="$VIRTUAL_ENV/bin:$PATH"20RUN pip install --no-cache-dir huggingface_hub21 22COPY sync_data.sh /opt/halo/23RUN chmod +x /opt/halo/sync_data.sh24 25EXPOSE 809026 27CMD ["/bin/sh", "-c", "/opt/halo/sync_data.sh"]