-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hello !
if I just want to familiarize myself with the application.
if run container like this
docker run -d -p 80:80 --rm --name markdownnotes -it ssilence/markdownnotes:latest
need manually enter into container
and create folders
root@fdd2b5e2255b:/var/www/html# mkdir data
root@fdd2b5e2255b:/var/www/html# mkdir data/pages
root@fdd2b5e2255b:/var/www/html# mkdir data/files
and next create permissions like
root@fdd2b5e2255b:/var/www/html# chown -R www-data:www-data .
else have errors on front like - permission denied @mkdir ... something else
You need in your Dockerfile use
USER www-data
and also need
RUN mkdir data
RUN mkdir data/pages
RUN mkdir data/pages
Alzarath
Metadata
Metadata
Assignees
Labels
No labels