debian-mirror-gitlab/vendor/Dockerfile/OpenJDK-alpine.Dockerfile

9 lines
111 B
Docker
Raw Normal View History

2017-08-17 22:00:37 +05:30
FROM openjdk:8-alpine
COPY . /usr/src/myapp
WORKDIR /usr/src/myapp
RUN javac Main.java
CMD ["java", "Main"]