-
Notifications
You must be signed in to change notification settings - Fork 4
/
Dockerfile-payara
23 lines (19 loc) · 841 Bytes
/
Dockerfile-payara
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#FROM payara/server-full:5.201
FROM payara/micro:5.201
#FROM payara/micro:5.194
# Imixs-Microservice Version payara-micro
MAINTAINER ralph.soika@imixs.com
# add configuration files
USER root
RUN mkdir ${PAYARA_HOME}/config
# Copy domain.xml
COPY ./src/docker/configuration/payara-micro/domain.xml ${PAYARA_HOME}/config/
COPY ./src/docker/configuration/payara-micro/keyfile ${PAYARA_HOME}/config/
# Deploy artefacts
COPY ./src/docker/configuration/payara-micro/postgresql-42.2.5.jar ${PAYARA_HOME}/config
COPY ./src/docker/apps/* $DEPLOY_DIR
RUN chown -R payara:payara ${PAYARA_HOME}/config
USER payara
WORKDIR ${PAYARA_HOME}
# add lauch options
CMD ["--addLibs","/opt/payara/config/postgresql-42.2.5.jar", "--deploymentDir", "/opt/payara/deployments", "--rootDir", "/opt/payara/config","--domainConfig", "/opt/payara/config/domain.xml"]