surl/Dockerfile

7 lines
263 B
Docker
Raw Normal View History

2024-08-12 19:35:52 +08:00
FROM alpine
RUN sed -i 's@dl-cdn.alpinelinux.org@mirrors.tuna.tsinghua.edu.cn@g' /etc/apk/repositories \
&& apk add --no-cache openjdk21-jre
2024-07-24 09:34:33 +08:00
COPY ./build/libs/surl-0.0.1-SNAPSHOT.jar /opt/pak/surl/pak.jar
WORKDIR /opt/pak/surl
CMD ["java", "-jar", "pak.jar"]