Skip to content

Commit

Permalink
🔧 chore(Dockerfile): remove dotenv support from Dockerfile for cleane…
Browse files Browse the repository at this point in the history
…r configuration management
  • Loading branch information
sakiila committed Jan 13, 2025
1 parent 38e32a4 commit f56bbdc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,5 @@ EXPOSE 3000
ENV PORT 3000
ENV HOSTNAME "0.0.0.0"

# 启用 .env 文件支持
ENV DOTENV_PATH="/app/.env"

# 启动服务
CMD ["node", "server.js"]
2 changes: 1 addition & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const Home: NextPage = () => {

const opacity = useTransform(scrollYProgress, [0, 0.3], [1, 0]);

const baseUrl = process.env.NEXT_PUBLIC_BASE_URL || 'https://gengar.baobo.me';
const baseUrl = process.env.NEXT_PUBLIC_BASE_URL || 'https://pearl.baobo.me';

return (
<div className={styles.container}>
Expand Down

0 comments on commit f56bbdc

Please sign in to comment.