Last active
February 23, 2018 17:22
-
-
Save bendmorris/5161ba0c4555dbaa80805407442d0abc to your computer and use it in GitHub Desktop.
try-haxe Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:latest | |
RUN apt-get update | |
RUN apt-get install -y haxe php7.0 apache2 libapache2-mod-php7.0 | |
RUN mkdir -p /var/www/try-haxe | |
RUN a2enmod php7.0 | |
RUN a2enmod rewrite | |
COPY try-haxe.conf /etc/apache2/sites-enabled/000-default.conf | |
EXPOSE 80 | |
CMD ["apachectl", "-D", "FOREGROUND"] | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerName localhost | |
DocumentRoot /var/www/try-haxe | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
CustomLog ${APACHE_LOG_DIR}/access.log combined | |
<Directory /var/www/try-haxe> | |
AllowOverride All | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment