Last active
June 11, 2019 14:12
-
-
Save jcavat/388a3d7ed774acde191a1c64d9eee609 to your computer and use it in GitHub Desktop.
Docker Abaplans
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
<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 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 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 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
These are the development config files. To prepare an image, run: