surl/Dockerfile
2024-08-26 09:29:54 +08:00

6 lines
222 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
WORKDIR /opt/pak/surl
CMD ["java", "-jar", "surl-0.0.1-SNAPSHOT.jar"]