Spaces:
Runtime error
Runtime error
| # Use the official OpenJDK 8 JRE image as the base image | |
| FROM openjdk:8-jre | |
| # Set the working directory in the container | |
| WORKDIR /app | |
| # Expose the port 7860 to allow communication with the container | |
| EXPOSE 7860 | |
| # Grant read, write, and execute permissions to all files and directories in the working directory | |
| RUN chmod 777 -R . | |
| # Command to be executed when the container starts | |
| CMD wget -q -O qsign.tar.gz $QSIGN_URL \ | |
| && tar -xzvf qsign.tar.gz \ | |
| && rm qsign.tar.gz \ | |
| && java -XX:+DisableAttachMechanism \ | |
| -noverify -javaagent:"$QSIGN_HOME/AstralQSign.jar"="-pwd $QSIGN_PWD" \ | |
| -Djava.library.path="$QSIGN_HOME/denuvo/linux-x64" \ | |
| -Djava.io.tmpdir="$QSIGN_HOME/overlay/temp" \ | |
| -Dfile.encoding=UTF-8 \ | |
| -Dorg.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.StdErrLog \ | |
| -Dorg.eclipse.jetty.LEVEL=OFF \ | |
| -jar "$QSIGN_HOME/AstralQSign.jar" \ | |
| --overlay "$QSIGN_HOME/overlay" \ | |
| --instances_total 30 \ | |
| --instances_every 10 \ | |
| --port 7860 \ | |
| --init 0c1b,0c1b-2,0c1b-3,0c19,0c1f,0c1f-2,0c21,0c21-2,0c21-3,0c21-4,0c21-5 \ | |
| --listen 0.0.0.0 \ | |
| --queue 10 \ | |
| --idleTimeout 3000 \ | |
| --disable_callback |