Spaces:
Runtime error
Runtime error
File size: 1,136 Bytes
7aa35ba 7d1d27c 7aa35ba 7d1d27c 7aa35ba 7d1d27c 7aa35ba 870215c 7aa35ba 712e64b b18b295 b3d0607 712e64b 8bcc05c 712e64b 4d3e860 fa76e9a 8bcc05c 712e64b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# 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 |