Browse Source

modify Dockerfile

main
hellodk 2 years ago
parent
commit
8105e46b25
  1. 6
      Dockerfile

6
Dockerfile

@ -2,6 +2,12 @@ FROM openjdk:11.0.15-jre-bullseye
MAINTAINER hellodk<[email protected]>
# using ustc
RUN sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list && \
apt-get clean
RUN apt-get update && apt-get install -y vim
WORKDIR /opt/app/
COPY target/tinyimage-1.0-SNAPSHOT-jar-with-dependencies.jar ./

Loading…
Cancel
Save