- .dockerignore 및 docker-compose.yml을 docker/ 디렉토리로 이동 - Makefile의 docker-compose 명령어 경로 업데이트 - .vite/ 폴더를 git 추적에서 제거 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
14 lines
452 B
Bash
14 lines
452 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
# Replace environment variables in JavaScript files if needed
|
|
# This is useful for runtime configuration in Docker containers
|
|
|
|
# Example: Replace API_URL placeholder with actual environment variable
|
|
# if [ ! -z "$API_URL" ]; then
|
|
# find /usr/local/apache2/htdocs -name '*.js' -exec sed -i "s|VITE_API_URL_PLACEHOLDER|$API_URL|g" {} +
|
|
# fi
|
|
|
|
# Start Apache in foreground
|
|
echo "Starting Apache HTTP Server..."
|
|
exec httpd-foreground |