api-gateway/Dockerfile
Torma Kristóf 3c521fcba8
All checks were successful
continuous-integration/drone/push Build is passing
add k8s files
2020-04-10 16:00:28 +02:00

8 lines
231 B
Docker

FROM openjdk:11-jdk-oracle
RUN groupadd spring && useradd -g spring 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"]