guillaumeprevost / docker-picocms

Docker version of PicoCMS, the flat file, markdown, lightweight, Content Management System
MIT License
5 stars 7 forks source link

Step 14/27 : RUN cp ./config/config.php.template ./config/config.php #1

Open z8r-it opened 3 years ago

z8r-it commented 3 years ago

Step 14/27 : RUN cp ./config/config.php.template ./config/config.php ---> Running in 1252826fb98b cp: cannot stat './config/config.php.template': No such file or directory ERROR: Service 'picocms' failed to build: The command '/bin/sh -c cp ./config/config.php.template ./config/config.php' returned a non-zero code: 1

damufo commented 3 years ago

Docker version 19.03.8, build afacb8b7f0 docker-compose version 1.25.0, build unknown

Same problem:

Step 14/27 : RUN cp ./config/config.php.template ./config/config.php ---> Running in 61b5d8901851 cp: cannot stat './config/config.php.template': No such file or directory ERROR: Service 'picocms' failed to build: The command '/bin/sh -c cp ./config/config.php.template ./config/config.php' returned a non-zero code: 1

damufo commented 3 years ago

replace: RUN cp ./config/config.php.template ./config/config.php by: RUN cp ./config/config.yml.template ./config/config.yml

now start but not work, container log file: cp: cannot stat '/home/sites/picocms/init/themes/*': No such file or directory

ronaldgreeff commented 1 year ago

[14/25] RUN cp ./config/config.php.template ./config/config.php: 18 0.175 cp: cannot stat './config/config.php.template': No such file or directory

failed to solve: executor failed running [/bin/sh -c cp ./config/config.php.template ./config/config.php]: exit code: 1

guillaumeprevost commented 1 year ago

Hi @ronaldgreeff and sorry for the late reply, @z8r-it @damufo

Thanks for your feedback ! I haven't updated the code since I first put this project up on Github, there are probably updates required on PicoCMS, Docker and on PHP versions to make this repo up-to-date.

Feel free to make a pull request if you feel like some code should be updated :)