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

Unable to boot app in production mode #624

Closed
Wordlesschunk opened this issue Apr 28, 2024 · 2 comments
Closed

Unable to boot app in production mode #624

Wordlesschunk opened this issue Apr 28, 2024 · 2 comments
Labels
stalled support Support requested

Comments

@Wordlesschunk
Copy link

Hey guys im trying to run my app in production mode (works fine in dev mode)

When running:
docker compose -f compose.yaml -f compose.prod.yaml up -d --wait

I get:
image

With the container restarting constantly

any ideas?

@7-zete-7
Copy link

Hello @Wordlesschunk!

Show your Dockerfile, compose.yaml, compose.override.yaml and compose.prod.yaml files.

@maxhelias maxhelias added the support Support requested label Apr 29, 2024
@maxhelias
Copy link
Collaborator

Hi,

If you haven't touched the original template, this shouldn't happen with this instruction:

COPY --link composer.* symfony.* ./

Also, docker can have a cache layer, make sure you have the right build for each deployment or rebuild your project with --no-cache option to avoid cache issue.

@maxhelias maxhelias closed this as not planned Won't fix, can't repro, duplicate, stale Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stalled support Support requested
Projects
None yet
Development

No branches or pull requests

3 participants