Commit 7065e258 authored by maxiucheng's avatar maxiucheng
Browse files

更新docker

parent dfc54eb4
FROM java:8
VOLUME /tmp
RUN mkdir /app
ADD xxpay-config.jar /app/app.jar
ADD runboot.sh /app/
RUN bash -c 'touch /app/app.jar'
WORKDIR /app
RUN chmod a+x runboot.sh
EXPOSE 2020
CMD /app/runboot.sh
\ No newline at end of file
#!/usr/bin/env bash
sleep 30
java -Djava.security.egd=file:/dev/./urandom -jar /app/app.jar
\ No newline at end of file
Supports Markdown
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