bellingcat / bellingcat/auto-archiver-api

Address `make dev` Docker issue

Open
#65 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
14
Forks
2
PR merge metrics
No merged PRs in 30d

Description

## What do?
The `make dev` command, as it stands, requires the `env.prod` file.

```console
michaelp@Mac auto-archiver-api % make dev
docker compose --env-file .env.dev -f docker-compose.yml -f docker-compose.dev.yml build
...
docker compose --env-file .env.dev -f docker-compose.yml -f docker-compose.dev.yml up --remove-orphans
env file /Users/michaelp/Documents/GitHub/auto-archiver-api/.env.prod not found: stat /Users/michaelp/Documents/GitHub/auto-archiver-api/.env.prod: no such file or directory
make: *** [dev] Error 14
michaelp@Mac auto-archiver-api %
```

Contributor guide

Open the contributing guide

Research direction

Start with the `make dev` target and inspect `docker-compose.yml` and `docker-compose.dev.yml` for the `.env.prod` reference. Run `make dev` in an environment without `env.prod` to reproduce the failure; done means the development command no longer requires that file.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose
Domain
devops
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.