Drafts of the files this app needs to run as a container on AWS, written for its stack
(Python / Flask). The fix for each finding is on the Findings tab.
DockerfileAI-generated
Packages the app as one container: an official slim base image with security updates applied, an unprivileged user, and the app listening on 0.0.0.0.
Lists every setting the app reads, marked secret or setting, required or optional. Secrets go in AWS Secrets Manager, never in the code.
# The current code reads these three variables.
# AWS_SECRET_ACCESS_KEY is required to use the current backup function.
# Copying this file does not load it automatically; supply values through your runtime.
# setting, optional
AWS_REGION=us-east-1
# secret, required
AWS_SECRET_ACCESS_KEY=
# setting, optional
BACKUP_BUCKET=greenedge-quote-backups
# Before AWS launch, remove the hardcoded access key and explicit credentials
# from the S3 client, and grant S3 access through the container's AWS task role.
# With that code change, AWS_SECRET_ACCESS_KEY is no longer needed on AWS.
.dockerignoreAI-generated
Keeps secrets, Git history and generated folders out of the container image.