api-gateway/Dockerfile
Torma Kristóf 4ecca8b500
Some checks failed
continuous-integration/drone/push Build is failing
initial commit
2020-04-10 15:33:49 +02:00

8 lines
237 B
Docker

FROM openjdk:11-jdk-alpine
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"]