-
-
Notifications
You must be signed in to change notification settings - Fork 94
Expand file tree
/
Copy pathDockerfile
More file actions
15 lines (13 loc) · 671 Bytes
/
Dockerfile
File metadata and controls
15 lines (13 loc) · 671 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:8.1-v4-apache-node18
RUN git clone -b develop https://github.com/pmsf/PMSF.git .
RUN composer install
RUN npm install
RUN npm audit fix
RUN npm run build