2022-10-13 02:34:34 +02:00
|
|
|
FROM ibmjava:sfj
|
2022-10-06 17:41:43 +02:00
|
|
|
|
|
|
|
LABEL author="Piotr Biernat"
|
2022-10-12 17:51:29 +02:00
|
|
|
LABEL service="api-gw"
|
2022-10-06 17:41:43 +02:00
|
|
|
LABEL vendor="Egommerce"
|
|
|
|
LABEL version="1.0"
|
|
|
|
|
2022-10-13 02:34:34 +02:00
|
|
|
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
|