docker-compose build and recreate
FDiskas opened this issue · 3 comments
FDiskas commented
I know that this is rare case, but for consistency I would like to have it recreated every time I deploy the app
like
docker-compose up --build --force-recreate
In my case - I have docker compose it points to docker file and in that docker file is
FROM someperson/some-server:latest
and I do not get the latest server version on redeploy.
yamalight commented
FDiskas commented
@Tiim thanks for response. So that means we need to use docker multi-stage
if we need multiple services?
yamalight commented
@FDiskas multi-stage builds won't help here.
what you want to do is to create multiple exoframe deployments (e.g. one for your db, one for the server). I did that for BxJS website, see db and hasura folders.