Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permissions to edit files from the host #33

Open
ltroya-as opened this issue Jun 7, 2021 · 0 comments
Open

Permissions to edit files from the host #33

ltroya-as opened this issue Jun 7, 2021 · 0 comments

Comments

@ltroya-as
Copy link

Is it an easy way to edit permissions to edit from the host?

I tried this on my Dockerfile but it is not working:

RUN groupadd -g 1000 www
RUN useradd -u 1000 -ms /bin/bash -g www www

# src is where all my code lives.
COPY --chown=www:www src /usr/share/nginx/html

As soon as the image starts all the files change to this:
image

Running this image on the server works perfectly. If it's possible I would like to use the same image on my development workflow too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant