Torma Kristóf
3c521fcba8
All checks were successful
continuous-integration/drone/push Build is passing
8 lines
231 B
Docker
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"] |