-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #220 from ComputerScienceHouse/develop
3.1.3 Production Merge
- Loading branch information
Showing
73 changed files
with
4,565 additions
and
4,087 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"commonjs": true, | ||
"es6": true | ||
}, | ||
"extends": [ | ||
"standard" | ||
], | ||
"globals": { | ||
"Atomics": "readonly", | ||
"SharedArrayBuffer": "readonly" | ||
}, | ||
"parserOptions": { | ||
"ecmaVersion": 2018 | ||
}, | ||
"rules": { | ||
"no-undef": "off", | ||
"no-unused-vars": "warn", | ||
"no-prototype-builtins": "warn", | ||
"no-redeclare": "warn", | ||
"no-inner-declarations": "warn", | ||
"no-throw-literal": "warn" | ||
} | ||
} |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
10 |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,32 @@ | ||
FROM php:7.1-apache | ||
MAINTAINER Devin Matte <[email protected]> | ||
LABEL author="Devin Matte <[email protected]>" | ||
|
||
ADD apache-config.conf /etc/apache2/sites-enabled/000-default.conf | ||
RUN apt-get -yq update && \ | ||
apt-get -yq install gnupg libmagickwand-dev git gcc make autoconf libc-dev pkg-config --no-install-recommends | ||
|
||
RUN docker-php-ext-install mysqli && \ | ||
yes '' | pecl install imagick && docker-php-ext-enable imagick | ||
|
||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer | ||
|
||
COPY apache-config.conf /etc/apache2/sites-enabled/000-default.conf | ||
|
||
RUN a2enmod rewrite && a2enmod headers && a2enmod expires && \ | ||
sed -i '/Listen/{s/\([0-9]\+\)/8080/; :a;n; ba}' /etc/apache2/ports.conf && \ | ||
chmod og+rwx /var/lock/apache2 && chmod -R og+rwx /var/run/apache2 | ||
|
||
RUN apt-get -yq update && \ | ||
apt-get -yq install gnupg libmagickwand-dev --no-install-recommends && \ | ||
apt-get -yq clean all | ||
|
||
RUN docker-php-ext-install mysqli && \ | ||
pecl install imagick && docker-php-ext-enable imagick | ||
|
||
COPY . /var/www/html | ||
|
||
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - && \ | ||
apt-get -yq update && \ | ||
apt-get -yq install nodejs && \ | ||
npm install && \ | ||
npm run-script build && \ | ||
rm -rf node_modules && \ | ||
apt-get -yq remove nodejs && \ | ||
apt-get -yq clean all | ||
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - \ | ||
&& apt-get -yq update \ | ||
&& apt-get -yq install nodejs --no-install-recommends \ | ||
&& npm install \ | ||
&& npm run-script build \ | ||
&& apt-get -yq remove nodejs \ | ||
&& apt-get -yq clean all \ | ||
&& rm -rf node_modules | ||
|
||
RUN composer install | ||
|
||
EXPOSE 8080 | ||
EXPOSE 8443 |
Oops, something went wrong.