Update Dockerfile
This commit is contained in:
parent
4981498fcb
commit
33ce969b18
1 changed files with 3 additions and 2 deletions
|
|
@ -6,8 +6,9 @@ RUN apt-get update && apt-get install -y \
|
|||
&& docker-php-ext-install pdo pdo_pgsql pgsql \
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# 2. 소스코드 전체를 Apache 웹서버 경로로 복사
|
||||
COPY . /var/www/html/
|
||||
# 2. 하위 경로 (/jasan)에 매칭되도록 폴더를 생성하고 소스코드 복사
|
||||
RUN mkdir -p /var/www/html/jasan
|
||||
COPY . /var/www/html/jasan/
|
||||
|
||||
# 3. Apache가 폴더를 정상 읽고 쓸 수 있게 권한 조정
|
||||
RUN chown -R www-data:www-data /var/www/html
|
||||
|
|
|
|||
Loading…
Reference in a new issue