Skip to content

security: making the env.sh public available is not so great #22

Description

@RobertHeim

In the final stage of the Dockerfile it says

WORKDIR /usr/share/nginx/html
COPY ./env.sh .
COPY .env .
RUN chmod +x env.sh

and in the nginx.conf that folder is used as root:

    root   /usr/share/nginx/html;

I think the sh script should not be part of the folder that nginx serves to the world.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions