Skip to content

Define ENV vars in Dockerfile #5

@dantownsend

Description

@dantownsend

There is an example .env file, but it's best define the environment variables in the Dockerfile too. They can have default values.

For example

ENV DB_PORT=5432

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions