forked from pmsf/PMSF
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
15 lines (13 loc) · 700 Bytes
/
Copy pathDockerfile
File metadata and controls
15 lines (13 loc) · 700 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
## Simple Dockerfile to build PMSF (develop branch)
# - The base image can be found here: https://github.com/thecodingmachine/docker-images-php
# - Inside the container, the content of this git repo lives in /var/www/html/
## You have to mount your configs into the container:
# - mount config.php to /var/www/html/config/config.php
# - mount access-config.php to /var/www/html/config/access-config.php
# - Also mount every other configuration file necessary into the according directory.
FROM thecodingmachine/php:7.2-v1-apache-node10
RUN git clone https://github.com/pmsf/PMSF.git /var/www/html/ && git checkout develop
RUN composer install
RUN npm install
RUN npm audit fix
RUN npm run build