Docker 설정 파일 구조 개선 및 .vite 폴더 추적 제거
- .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>
This commit is contained in:
14
docker/entrypoint.sh
Normal file
14
docker/entrypoint.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user