AstralQSign / Dockerfile
zyr15r's picture
init
7aa35ba
raw
history blame contribute delete
553 Bytes
# 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 -noverify -Xms128M -jar "./qsign/AstralQSign.jar" $JVM_ARGS