Stage 서버 deploy 파일 추가

This commit is contained in:
jisangs committed 2026-07-06 22:16:34 +09:00
1 parent 1ea9e64667
commit e17b1f0f1f
4 files changed
+62

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
FROM php:7.3-apache
RUN apt-get update && apt-get install -y libonig-dev \
&& docker-php-ext-install mysqli mbstring \
&& rm -rf /var/lib/apt/lists/*
RUN a2enmod rewrite
RUN { \
echo '<Directory /var/www/html>'; \
echo ' AllowOverride All'; \
echo '</Directory>'; \
echo ''; \
echo '<FilesMatch "\.(php|html|htm|inc)$">'; \
echo ' SetHandler application/x-httpd-php'; \
echo '</FilesMatch>'; \
} > /etc/apache2/conf-available/chocomae.conf \
&& a2enconf chocomae
ENV TZ=Asia/Seoul
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone