Commit f66ca920 authored by YannisMarketakis's avatar YannisMarketakis
Browse files

refactored jar file

parent ae4b2976
#FROM openjdk:8-oracle
FROM brainqi/jdk
#FROM openjdk:8u312-jdk
WORKDIR /
RUN mkdir /uploads
#ADD uploads.tar.gz /
COPY 3mspring-0.0.1-SNAPSHOT.jar /
COPY 3mspring.jar /
ADD entrypoint.sh /entrypoint.sh
......
#!/bin/bash
java -Djava.security.egd=file:/dev/./urandom -jar 3mspring-0.0.1-SNAPSHOT.jar \
java -Djava.security.egd=file:/dev/./urandom -jar 3mspring.jar \
--server.port=8082 \
--spring.mail.host=$spring_mail_host \
--spring.mail.port=$spring_mail_port \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment