surl/Dockerfile

6 lines
222 B
Docker
Raw Normal View History

2024-08-13 14:17:35 +08:00
FROM alpine:latest
2024-08-12 19:35:52 +08:00
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
WORKDIR /opt/pak/surl
2024-08-26 09:29:54 +08:00
CMD ["java", "-jar", "surl-0.0.1-SNAPSHOT.jar"]