「🏗️」 wip: work in progress, not done yet.
This commit is contained in:
23
docker/web/Dockerfile
Normal file
23
docker/web/Dockerfile
Normal file
@ -0,0 +1,23 @@
|
||||
FROM nginx:alpine
|
||||
|
||||
RUN apk update && apk add --no-cache \
|
||||
php84 \
|
||||
php84-fpm \
|
||||
php84-opcache \
|
||||
php84-mysqli \
|
||||
php84-pdo \
|
||||
php84-pdo_mysql \
|
||||
php84-json \
|
||||
php84-cli \
|
||||
php84-common \
|
||||
php84-mbstring \
|
||||
php84-xml \
|
||||
php84-curl
|
||||
|
||||
COPY ./site /var/www/html
|
||||
COPY ./docker/web/http-conf/pressf.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
RUN mkdir -p /var/www/db
|
||||
RUN chown -R nginx:nginx /var/www/db
|
||||
|
||||
VOLUME ["/var/www/html", "/var/db"]
|
Reference in New Issue
Block a user