Afo
Start command for docker image
Is there any way to provide launch command for the container? Command which I'm talking about looks like this:
`docker run -e TOKEN=$TOKEN -e KEY=$KEY app_name_here'
Error "Invalid command" is given when I'm trying to put it as a start command.
Whole case looks like this:
GitHub ----- GH Actions Building and Pushing Docker Image -----> Docker Hub ---- Pulling From DockerHub to Railway -----> Run Image with above command
Docker Image is not equipped with env variables due to public nature of this repo... that's why I'm doing it like that. Of course this image is working as planned on my local machine.. so is there any way to solve that? Or maybe any other way to handle it?
37 replies