Piotr Biernat
fdd8e68ac0
All checks were successful
continuous-integration/drone/push Build is passing
16 lines
344 B
Docker
16 lines
344 B
Docker
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
|