-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
22 lines (14 loc) · 841 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM pmasala/entando-base-image-432
LABEL maintainer="Pietrangelo Masala <[email protected]>"
COPY filter-development-unix.properties /opt/entando/filter-development-unix.properties
WORKDIR /opt/entando
# Cloning the entando fsi-onboardind demo, injecting filter parameters and patching permissions
# for OpenShift deployment
RUN git clone https://github.com/entando/fsi-onboarding-entando.git \
&& rm -f fsi-onboarding-entando/fsi-backoffice/src/main/filters/filter-development-unix.properties \
&& cp filter-development-unix.properties fsi-onboarding-entando/fsi-backoffice/src/main/filters/ \
&& chmod -R 777 /opt/entando/fsi-onboarding-entando/fsi-backoffice/
USER 1001
WORKDIR /opt/entando/fsi-onboarding-entando/fsi-backoffice
ENTRYPOINT [ "mvn", "-Dmaven.repo.local=/opt/entando/.m2/repository", "jetty:run" ]
EXPOSE 8080