api-gateway/Dockerfile
Torma Kristóf 59f663c1fd
Some checks failed
continuous-integration/drone/push Build is failing
fix dockerfile
2020-04-10 15:46:49 +02:00

8 lines
237 B
Docker

FROM openjdk:11-jdk-oracle
RUN addgroup -S spring && adduser -S spring -G spring
USER spring:spring
WORKDIR /app
EXPOSE 8080
ARG JAR_FILE=build/libs/*.jar
COPY ${JAR_FILE} api-gateway.jar
ENTRYPOINT ["java","-jar","/app/api-gateway.jar"]