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

[Bug]: Coolify copies directory files as directory in container instead of files #5006

Closed
roshi112 opened this issue Jan 29, 2025 · 2 comments

Comments

@roshi112
Copy link

Error Message and Logs

volumes:
- ./config:/local/config

files in config shows as directory in containers

Image

Image

in the image all blue color files are mounted as directory.

Steps to Reproduce

  1. Deploy application from git app
  2. All the directory volume files copied as directory in containers

Image

in the image all blue color files are mounted as directory.

Example Repository URL

https://github.com/juspay/hyperswitch

Coolify Version

v4.0.0-beta.339

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

ubuntu 22.04

Additional Information

I have to manually create files and add code in it, there are also some nested directories which are not copied in container or fetched from my added git app.

Image

@roshi112 roshi112 added 🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization. labels Jan 29, 2025
@djsisson
Copy link
Contributor

@roshi112 if a file doesn't exist at the time of container creation docker creates a directory with that name

You would need to tick preserve repo to make sure files are in place before you deploy first

Or use docker config instead

@roshi112
Copy link
Author

@roshi112 if a file doesn't exist at the time of container creation docker creates a directory with that name

You would need to tick preserve repo to make sure files are in place before you deploy first

Or use docker config instead

Thank you so much, you just save my day :-)

@github-actions github-actions bot removed 🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization. labels Jan 30, 2025
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

2 participants