Skip to content

Dockerfile deployment CMD not working #81

@dexter21767-dev

Description

@dexter21767-dev

when using a dockerfile deployment using CMD doesn't work but using ENTRYPOINT works,
that's because the CMD is overridden here https://github.com/Stremio/stremio-beamup/blob/master/swarm-syncer/beamup-sync-swarm#L19-L38

this is overridden because it assums it's a herokuish buildpack deployment (dokku's default type of deployment)

EDIT 1: it seems like there's a logic to handle both cases (dockerfile and herrokuish deployements) but it seems like it's not triggering correctly, we would need to check if the names are still correct (having "docker" appended for docker file deployments) especially after updating dokku's version
https://github.com/Stremio/stremio-beamup/blob/master/swarm-syncer/beamup-sync-swarm#L154-L155

EDIT 2: got CMD working by adding "docker" to the name of the project when doing "beamup init", so the logic is there and does work, except that dokku no longer adds "docker" to the image name when using dockerfile deployment, so this might be fixable using a dokku plugin.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions