Page MenuHomePhabricator

[wbsatck/api] Make `docker-compose` build the local image rather than pull from GHCR
Closed, ResolvedPublic

Description

The docker-compose file currently pulls the API image from the GitHub container registry (ghcr.io).
https://github.com/wbstack/api/blob/a51c6241d4630fd6efdbb1107210fa810c6c7ac0/docker-compose.yml#L4

This means that any changes to the Dockerfile won't be reflected in the docker-compse development environment.

We should change the docker-compose file to build the API image from the local Dockerfile.
E.g.

services:
  api:
    build: .
    image: api
    volumes:

Mattermost thread