-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (20 loc) · 876 Bytes
/
Dockerfile
File metadata and controls
24 lines (20 loc) · 876 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Base Image
FROM amazonlinux:2017.09
# Maintainer
LABEL maintainer="devops@processmaker.com"
LABEL processmaker-stack="pm4"
# Install processmaker
COPY ["script-config/installpm.sh", "/tmp/"]
COPY ["file-config/gai.conf", "/etc/"]
RUN chmod 700 /tmp/installpm.sh && \
chmod 644 /etc/gai.conf && \
/bin/sh /tmp/installpm.sh
COPY ["file-config/php-fpm.conf", "/etc/php-fpm.d/processmaker.conf"]
COPY ["file-config/nginx.conf", "/etc/nginx/nginx.conf"]
COPY ["file-config/processmaker.conf", "/etc/nginx/conf.d/processmaker.conf"]
COPY ["file-config/processmaker-horizon.conf", "/etc/supervisor/processmaker-horizon.conf"]
COPY ["file-config/processmaker-echo-server.conf", "/etc/supervisor/processmaker-echo-server.conf"]
COPY ["file-config/php-fpm-7.2", "/etc/rc.d/init.d/"]
RUN chmod 755 /etc/rc.d/init.d/php-fpm-7.2
# Docker entrypoint
EXPOSE 80 6001