✅ Trying to create a dockerfile for an API

Hi everyone, I'm trying to run this command on docker file and where it say my-github-token I was trying to put ${GITHUB_TOKEN} and I have a .env file in the same folder as the dockerfile, but when I run docker build -t template . it does not work, do I need to make a compose file? I just want to make this work with only the dockerfile, the compose will be in a parent folder.
Thanks!
image.png
Was this page helpful?