7 lines
270 B
Docker
7 lines
270 B
Docker
FROM alpine:latest
|
|
RUN sed -i 's@dl-cdn.alpinelinux.org@mirrors.tuna.tsinghua.edu.cn@g' /etc/apk/repositories \
|
|
&& apk add --no-cache openjdk21-jre
|
|
COPY ./build/libs/surl-0.0.1-SNAPSHOT.jar /opt/pak/surl/pak.jar
|
|
WORKDIR /opt/pak/surl
|
|
CMD ["java", "-jar", "pak.jar"]
|