api-gateway/Dockerfile

16 lines
344 B
Docker
Raw Normal View History

FROM ibmjava:sfj
LABEL author="Piotr Biernat"
2022-10-12 17:51:29 +02:00
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