Skip to content
Snippets Groups Projects
Commit 872aafee authored by Hakan EBABIL's avatar Hakan EBABIL
Browse files

add docker

parent e3ff682b
Branches
Tags
No related merge requests found
...@@ -3,6 +3,11 @@ FROM php:7.3-apache ...@@ -3,6 +3,11 @@ FROM php:7.3-apache
# Update system # Update system
RUN apt-get update RUN apt-get update
# Install composer
ENV COMPOSER_HOME "/home/www-data/.composer"
RUN mkdir -p $COMPOSER_HOME && chmod -R 777 $COMPOSER_HOME && curl -sS https://getcomposer.org/installer | php \
&& chmod +x composer.phar && mv composer.phar /usr/local/bin/composer
RUN mkdir /srv/app RUN mkdir /srv/app
COPY vhost.conf /etc/apache2/sites-available/000-default.conf COPY vhost.conf /etc/apache2/sites-available/000-default.conf
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment