Category : api-platform.com

I have a problem with my Docker container, i try to run it on my macOS but when I run docker-compose up –build after some minutes I get an error and the installation crashes #76 2.270 Script cache:clear returned with error code 255 #76 2.270 !! PHP Fatal error: Uncaught SymfonyComponentDotenvExceptionPathException: Unable to read the ..

Read more

How can I resolve this problem with symfony + api-platform ? Client error: BAN http://localhost resulted in a 400 Bad Request response I’m actually working in a project with a dev environment based on docker. // in api_platform.yml i have this api_platform: mapping: paths: [‘%kernel.project_dir%/src/Entity’] patch_formats: json: [‘application/merge-patch+json’] swagger: versions: [3] http_cache: invalidation: enabled: true ..

Read more

I am totally blind so my development setup is quite different than for most sighted people. My goal is to be able to use PHPStorm and VSCode simultaniously and use power of Docker to run containers and that way develop stuff. I can’t use Linux as my main machine, because Orca screen reader is not ..

Read more

I have a multi staging Dockerfile that works great in development, but when I’m trying to deploy for production the build folder stays empty. I can’t see where it goes wrong, should work to me. Here is the Dockerfile : ARG NODE_VERSION=13 ARG NGINX_VERSION=1.17 # "development" stage FROM node:${NODE_VERSION}-alpine AS api_platform_client_common EXPOSE 3000 WORKDIR /usr/src/client ..

Read more