-
-
Save piotrlewandowski/a8961f2a42967a9f7dcb46ac09631813 to your computer and use it in GitHub Desktop.
Docker Abaplans
This file contains hidden or 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
| <IfModule mod_rewrite.c> | |
| Options Indexes FollowSymLinks | |
| RewriteEngine On | |
| RewriteBase / | |
| RewriteRule ^index\.html$ - [L] | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteRule . /index.html [L] | |
| </IfModule> |
This file contains hidden or 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
| docker cp ../abaplan-core/index.html abaplans_www_1:/var/www/html/ | |
| docker cp ../abaplan-core/assets/ abaplans_www_1:/var/www/html/ | |
| docker cp ../abaplan-core/dist/ abaplans_www_1:/var/www/html/ | |
| docker cp ../abaplan-core/i18n/ abaplans_www_1:/var/www/html/ | |
| docker cp .htaccess abaplans_www_1:/var/www/html/ | |
| docker exec abaplans_www_1 sh -c 'rm /var/www/html/dist/*.js.map' |
This file contains hidden or 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
| version: "2" | |
| services: | |
| www: | |
| build: . | |
| ports: | |
| - "8080:80" |
This file contains hidden or 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 php:7.1.2-apache | |
| RUN a2enmod rewrite |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment