gitlab-org--gitlab-foss/vendor/Dockerfile/OpenJDK-alpine.Dockerfile

8 lines
111 B
Docker

FROM openjdk:8-alpine
COPY . /usr/src/myapp
WORKDIR /usr/src/myapp
RUN javac Main.java
CMD ["java", "Main"]