Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Env import in `next.config.mjs` for Docker Image - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
4y ago
•
14 replies
Néstor
Env import in `next.config.mjs` for Docker Image
Hey
, in the docs of create
-t3
-app it states that I should remove the
import { env } from "./src/env/server.mjs";
import { env } from "./src/env/server.mjs";
when deploying with Docker
. How exactly am I able to do this only for production
? Because I
'd like to keep it for development to check env vars
.
Theo's Typesafe Cult
Join
26,564
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Failed to load next.config.mjs
TTC
Theo's Typesafe Cult / questions
4y ago