-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Unable to parse environment variable value with space #4137
Copy link
Copy link
Open
Labels
Description
To Reproduce
- Create a service using Dockerfile as build type
- Define an environment variable like
SOME_ENV="This env has a space" - Deploy
You will get an error saying Failed to parse dotenv file. Encountered unexpected whitespace at [This env has a space].
Usually on other projects or platforms, you just enclose the value in quotes but that doesn't seem to work.
Current vs. Expected behavior
Current: Deployment fails
Expected: Deployment is successful
Provide environment information
Operating System:
OS: Ubuntu 24.04
Arch: arm64
Dokploy version: 0.28.8
VPS Provider: AWS
What applications/services are you tying to deploy?
LaravelWhich area(s) are affected? (Select all that apply)
Application
Are you deploying the applications where Dokploy is installed or on a remote server?
Remote server
Additional context
No response
Will you send a PR to fix it?
Yes
Reactions are currently unavailable