forked from entando/app-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
24 lines (21 loc) · 778 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
FROM registry.access.redhat.com/ubi8/nginx-118:1-25
ARG VERSION
### Required OpenShift Labels
LABEL name="Entando App Builder" \
maintainer="[email protected]" \
vendor="Entando Inc." \
version="v${VERSION}" \
release="7.2.0" \
summary="Entando App Builder" \
description="The Entando App Builder is the front end environment to interact with the micro frontends, the WCMS, and other Entando components"
COPY licenses /licenses
EXPOSE 8081
COPY ./build /opt/app-root/src/app-builder
USER root
#RUN yum -y update
RUN fix-permissions /opt/app-root/src/app-builder
COPY ./nginx.conf ${NGINX_CONF_PATH}
USER default
COPY ./docker-entrypoint.sh /usr/local/bin
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
CMD ["nginx", "-g", "daemon off;"]