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
<?php | |
/** | |
* Integrate custom post types into Flatsome 3 page builder application using a child theme. | |
* | |
* This will provide: | |
* | |
* 1. Page Builder Editor support for custom post types | |
* 2. Integration with page builder post element components | |
**/ |
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
# For angular app | |
FROM nginx:alpine | |
COPY mgt-dash/nginx.conf /etc/nginx/nginx.conf | |
WORKDIR /usr/share/nginx/html | |
COPY mgt-dash/dist/mtg-dash . | |
# For node express server |
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: '3.1' | |
services: | |
app: | |
image: 'mtg-dash' | |
build: '.' | |
ports: | |
- 3000:80 | |
node: |
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
PS C:\Users\XPS-User\Documents\mtg2> docker-compose up | |
Creating network "mtg2_default" with the default driver | |
Building app | |
Step 1/11 : FROM nginx:alpine | |
alpine: Pulling from library/nginx | |
911c6d0c7995: Pull complete | |
f0ee8b734032: Pull complete | |
f8840ac64af5: Pull complete | |
9f8c19504ab0: Pull complete | |
Digest: sha256:56a9367b64eaef37894842a6f7a19a0ef8e7bd5de964aa844a70b3e2d758033c |