File size: 553 Bytes
7aa35ba
7d1d27c
7aa35ba
 
7d1d27c
7aa35ba
 
7d1d27c
7aa35ba
 
870215c
7aa35ba
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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