CMD ["nginx", "-g", "daemon off;"]
FROM alpine:3.14.2
RUN groupadd -r swuser -g 433 && \
useradd -u 431 -r -g swuser -s /sbin/nologin -c "Docker image user" swuser
USER root
RUN apk update && apk upgrade
RUN apk add --update curl && \
rm -rf /var/cache/apk/*
USER swuser
docker run -e MYVAR1 --env MYVAR2=foo --env-file ./env.list ubuntu bash
Config
Secrets – Application secrets should be instantiated at run-time.