Move all samples to the root dir

Signed-off-by: Anca Iordache <anca.iordache@docker.com>
This commit is contained in:
Anca Iordache
2020-03-16 17:23:59 +01:00
parent 0c6fcde001
commit f1e4cca535
262 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
FROM maven:3.5-jdk-8-alpine AS build
COPY pom.xml .
RUN mvn --batch-mode dependency:resolve
COPY src/ src
RUN mvn --batch-mode clean compile assembly:single
FROM openjdk:8-jre-alpine3.7
EXPOSE 8080
COPY --from=build target/app.jar /app.jar
CMD java -jar /app.jar