* chore: Overhaul Dockerfile for sandboxes using Docker best practices * Reduce image size by installing and removing prerequisite packages in the same layer. * Rearrange stages to use docker-production settings for non-dev targets. docker-production settings already inherit production settings and can be used to override configuration specific to containers e.g. logging. * chore: write improved Dockerfile2 just for testing * chore: update development stage to not run as app user * fix: wrap settings configuration in if statement * chore: update Dockerfile. * Moved code COPY command down in the base stage. * Added comments. Co-authored-by: Alie Langston <alangsto@wellesley.edu>
6.0 KiB
6.0 KiB