-
Run this command to build:
docker build \ -t user-express-local \ --build-arg port=9001 \ -f express.Dockerfile .
-
Run this command, from the root folder:
make db-up
-
Run the necessary migrate and seed commands, if you haven't yet.
-
Run this command to expose the container:
docker run -p 9001:9001 --env-file ./.env.docker user-express-local
Edit the variables in the .env.compose
file and run make up
from the root folder.
Any startup instructions will be run from entrypoint.sh
instead.