ladogton2010 commited on
Commit
dcd0b37
·
1 Parent(s): 1a8d414

propietario

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -20,7 +20,8 @@ RUN cd example-app
20
  WORKDIR /example-app
21
  # Verificar que archivos necesitan acceso de escritura o carpetas
22
  RUN ls -la
23
- RUN chmod 706 -R /example-app/bootstrap/cache
24
- RUN chmod 760 -R /example-app/storage
25
- RUN chmod 706 /example-app/database/database.sqlite
 
26
  CMD [ "bash","-c" , "id; whoami; ls -la database; php artisan serve --host=0.0.0.0 --port=7860"]
 
20
  WORKDIR /example-app
21
  # Verificar que archivos necesitan acceso de escritura o carpetas
22
  RUN ls -la
23
+ # RUN chmod 706 -R /example-app/bootstrap/cache
24
+ # RUN chmod 760 -R /example-app/storage
25
+ # RUN chmod 706 /example-app/database/database.sqlite
26
+ RUN chmown -R ubuntu:ubuntu /example-app
27
  CMD [ "bash","-c" , "id; whoami; ls -la database; php artisan serve --host=0.0.0.0 --port=7860"]