- Docker
- Build the image first
docker build -t <name:tag> .
- Create an env file, refer to the
sample_env
file and your keys
AWS_SECRET_ACCESS_KEY=xxxxxxxxxxxxxxxxxxxx
BUCKET=xxxxxxxxxxxxxxxxxxxx
MYSQL_USER=xxxxxxxxxxxxxxxxxxxx
MYSQL_PASSWORD=xxxxxxxxxxxxxxxxxxxx
MYSQL_DATABASE=xxxxxxxxxxxxxxxxxxxx
MYSQL_HOST=xxxxxxxxxxxxxxxxxxxx
- Run the image
docker run --env-file=<env_file_name_you_created> -it <name:tag>