Dockerfile 构建jdk镜像

FROM openjdk:15-jdk-alpine3.11    
ADD application.yml /data/cloudshop
ADD FastOD-0.0.1.jar /data/cloudshop
CMD echo "Asia/Shanghai" > /etc/timezone
WORKDIR /data/cloudshop

EXPOSE 8082
EXTRYPOINT ["java", "-jar FastOD-0.0.1.jar"]
docker build -t cloud .构建镜像

docker run -d --name cloud -p8082:8082 -v /data/cloudshop:/data/cloudshop openjdk java -jar 
/data/cloudshop/FastOD-0.0.1.jar  --spring.config.location=/data/cloudshop/application.yml
外部Jar包方式读取配置文件

我来吐槽

*

*

已有 18 条评论

  1. clourgy

    Cialis A Cosa Serve buy cialis online europe Amoxicillin And Pregnancy

  2. clourgy

    Discount Tadafil cialis from india

  3. Twirway

    buy stromectol ivermectin online Propecia With Synthroid

  4. Twirway

    Il Cialis In Italia ivermectin dosage

  5. Derofoory

    on 15th May 2022 36 hour cialis online

  6. uniobioli

    But be sure to check out the brand names buy cialis generic Once upon a time I was a huge fan of rabbit vibes

  7. zeriGauri

    Tadalafil Cialis is used to treat erectile dysfunction does priligy work Your Order Is Processed

  8. fonaboibe

    6 for tadalafil 2 Priligy He slowly independent review of male enhancement drugs walked towards the gate of Yingdu City, 80 of cialis male enhancement pill coupon stopped the guards guarding the gate as usual, and had to check the situation in the carriage, but when he came over, he saw a familiar and unfamiliar face

  9. Updalay

    Innerbody readers can get discounts on several boosters and at-home testosterone tests you can take in comfort and convenience generic cialis 5mg Ci rendiamo conto che qualsiasi uomo voglia mantenere segreta la propria decisione di ordinare il Cialis nella farmacia online

  10. mimaAmeve

    by Larry Rosen - Actor In A Leading Role Larry Rosen buy cialis generic

  11. uploact

    to 55 Eckley Lane cialis 20mg Role of application of tadalafil 5 mg once-daily 6 months in men with erectile dysfunction from six randomized controlled trials

  12. exinody

    Online shop cialis australia cheap cialis generic online Yes, licensed medical practitioners may recommend CIALIS TADALAFIL online after a medical assessment

  13. chibina

    It was found that FDC administration was safe and effective at improving sperm count and sperm motility in the first interval 90 days , and further improvement was observed in the second interval, at 180 days. when to start clomid MacLaughlin D.

  14. Imandabab

    i do know that clomid sometimes causing cramping in the second half of your cycle. clomid side effects men or What is the best treatment in this situation.

  15. GaumbFaib

    how much does tamoxifen reduce the risk of recurrence Hi, I m 40 yrs old and am BRCA1 gene mutation positive.

  16. infamma

    Reading your story gives me hope, congratulations on your little one. nolvadex benefits for male

  17. Fiemorp

    We established that, following aeroallergen challenge, Pirb mice display decreased lung eosinophilia and that PIRs critically regulate eosinophil maturation and expansion in homeostasis and in settings of aeroallergen- induced asthma 13. doxycycline side effects dogs

  18. zibTaible

    Offer protection from the sunlight by providing adequately sized shade and allow cattle to graze at night when face flies are not active. how to take doxycycline hyclate Amneal Pharmaceuticals Andapharm Anip Acquisition Co.