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

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

Open
z8r-it opened this issue Nov 5, 2020 · 4 comments
Open

Comments

@z8r-it
Copy link

z8r-it commented Nov 5, 2020

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
Copy link

damufo commented Nov 18, 2020

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
Copy link

damufo commented Nov 18, 2020

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
Copy link

ronaldgreeff commented Nov 25, 2022

[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
Copy link
Owner

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 :)

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

4 participants