RUN
, which executes and commits a command before moving on to the next instruction, ADD
, which adds a file or directory from your source to a destination, WORKDIR
, which changes the working directory for subsequent instructions, and EXPOSE
, which instructs the container to listen on the specified port at runtime.
ENTRYPOINT
instead.
📘 On Aptible, you can optionally include a Procfile in the root directory to define explicit services. How we interpret the commands in your Procfile depends on whether or not you have an ENTRYPOINT defined.
aptible deploy --docker-image “$DOCKER_IMAGE” --app “$APP”
to deploy your image to an App on Aptible