Skip to content

Instantly share code, notes, and snippets.

@bendmorris
Last active February 23, 2018 17:22
Show Gist options
  • Save bendmorris/5161ba0c4555dbaa80805407442d0abc to your computer and use it in GitHub Desktop.
Save bendmorris/5161ba0c4555dbaa80805407442d0abc to your computer and use it in GitHub Desktop.
try-haxe Dockerfile
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"]
<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