FROM ibmjava:sfj LABEL author="Piotr Biernat" LABEL service="api-gw" LABEL vendor="Egommerce" LABEL version="1.0" RUN mkdir /app WORKDIR /app COPY ./apigw/target/api-gw-0.0.1-SNAPSHOT.jar /app/api-gw.jar ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "/app/api-gw.jar", "--spring.profiles.active=docker"] EXPOSE 80