generated from GenomicDataInfrastructure/oss-project-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
30 lines (24 loc) · 946 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# SPDX-FileCopyrightText: 2024 PNED G.I.E.
#
# SPDX-License-Identifier: Apache-2.0
FROM registry.access.redhat.com/ubi9-minimal:9.5-1738816775
WORKDIR /work/
RUN chown 1001 /work \
&& chmod "g+rwX" /work \
&& chown 1001:root /work
COPY --chown=1001:root target/*-runner /work/application
EXPOSE 8080
USER 1001
ENV MAINTAINER "PNED G.I.E."
ENV APP_TITLE "userportal-access-management-service"
ENV APP_DESCRIPTION "Microservice used by User Portal responsible for Access Request."
LABEL maintainer ${MAINTAINER}
LABEL summary ${APP_TITLE}
LABEL description ${APP_DESCRIPTION}
LABEL org.opencontainers.image.vendor ${MAINTAINER}
LABEL org.opencontainers.image.licenses Apache-2.0
LABEL org.opencontainers.image.title ${APP_TITLE}
LABEL org.opencontainers.image.description ${APP_DESCRIPTION}
LABEL io.k8s.display-name ${APP_TITLE}
LABEL io.k8s.description ${APP_DESCRIPTION}
ENTRYPOINT ["./application", "-Dquarkus.http.host=0.0.0.0"]