upgraded dockerfile to be more sane
This commit is contained in:
parent
b41e240510
commit
69f723d7af
5
.dockerignore
Normal file
5
.dockerignore
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
config.ini
|
||||||
|
data/*
|
||||||
|
.git
|
||||||
|
.github
|
||||||
|
docs
|
|
@ -1,15 +1,15 @@
|
||||||
FROM alpine:3.10
|
FROM alpine:3.14.2
|
||||||
|
|
||||||
RUN apk add --no-cache python socat wget php7-fileinfo php7-session curl git php php-curl nginx php-openssl php-mbstring php-json php-gd php-dom php-fpm
|
RUN apk add --no-cache python socat wget php7-fileinfo php7-session curl git php php-curl nginx php-openssl php-mbstring php-json php-gd php-dom php-fpm
|
||||||
#RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
|
#RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
|
||||||
RUN mkdir -p /var/www
|
RUN mkdir -p /var/www/opentrashmail
|
||||||
WORKDIR /var/www
|
WORKDIR /var/www/opentrashmail
|
||||||
|
|
||||||
|
ADD . /var/www/opentrashmail/.
|
||||||
|
|
||||||
ADD docker/rootfs/start.sh /etc/start.sh
|
ADD docker/rootfs/start.sh /etc/start.sh
|
||||||
RUN chmod +x /etc/start.sh
|
RUN chmod +x /etc/start.sh
|
||||||
|
|
||||||
RUN git clone https://github.com/HaschekSolutions/opentrashmail.git
|
|
||||||
|
|
||||||
# nginx stuff
|
# nginx stuff
|
||||||
ADD docker/rootfs/nginx.conf /etc/nginx/conf.d/default.conf
|
ADD docker/rootfs/nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
RUN mkdir -p /run/nginx
|
RUN mkdir -p /run/nginx
|
||||||
|
|
Loading…
Reference in a new issue