ENV
ENV yourvar=yourvalue
Related
See also
docker run --env, Dockerfile: ENV, .env, --env-file
Dockerfile: FROM, RUN, CMD, ENTRYPOINT, WORKDIR, COPY, ADD, USER, ENV, ARG, HEALTHCHECK
,hadolint, LABEL, EXPOSE
docker build [ --tag | --platform | --help ] FROM, Dockerfile, .dockerignore, requirements.txt, docker build --help, docker tag
Advertising: