Add Dockerfile
This commit is contained in:
parent
96ed0d7787
commit
40d1e2ca1b
7
.dockerignore
Normal file
7
.dockerignore
Normal file
@ -0,0 +1,7 @@
|
||||
Dockerfile
|
||||
onyx2/cache/*.cache.php
|
||||
onyx2/cache/signatures/*.sign
|
||||
onyx2/log/*.log
|
||||
onyx2/log/users/*.log
|
||||
onyx2/modules/templates/cache/*
|
||||
onyx2/modules/templates/compile/*
|
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@ -0,0 +1,9 @@
|
||||
FROM php:7.2-fpm-alpine
|
||||
|
||||
RUN apk add --no-cache libpng libpng-dev freetype freetype-dev && \
|
||||
docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-png-dir=/usr/include/ && \
|
||||
docker-php-ext-install gd mysqli
|
||||
|
||||
COPY . /usr/src/hb-main/
|
||||
|
||||
RUN chmod 777 /usr/src/hb-main/onyx2/cache /usr/src/hb-main/onyx2/cache/signatures /usr/src/hb-main/onyx2/log /usr/src/hb-main/onyx2/log/users /usr/src/hb-main/onyx2/modules/templates/cache /usr/src/hb-main/onyx2/modules/templates/compile
|
Loading…
Reference in New Issue
Block a user