WORK IN PROGRESS
Caveat: In order to simplify development, I've created a couple of shared volumes that map files from my development machine to the Docker container. In a production environment, generating the bundled HTML, CSS and JavaScript and configuring NGINX is handled by the Dockerfile.nginx
.
- Use Docker environment file to configure containers;
- Use template nginx configuration file and replace that inside the container so we can drop the shared volume;1. Configure NGINX to allow SSL connections;
- Add PostgreSQL image;
- Improve Makefile;
- Improve .gitignore;
-
Copy the pip configuration file:
cp back/requirements.txt.dist back/requirements.txt
-
Copy the node configuration file:
cp front/packages.json.dist packages.json