ssh git이 가능하도록 변경, cron 버그 수정, fpm timezone 수정

This commit is contained in:
2019-09-15 13:30:12 +00:00
parent 0d49729c63
commit af6353105b
12 changed files with 121 additions and 64 deletions
+10 -2
View File
@@ -37,14 +37,22 @@ RUN { \
\
echo 'memory_limit=512M' > /usr/local/etc/php/conf.d/memory-limit.ini; \
\
mkdir /var/www/data; \
mkdir -p /var/www/data; \
chown -R www-data:root /var/www; \
chmod -R g=u /var/www
chmod -R g=u /var/www; \
mkdir -p /var/www/.ssh; \
chown www-data:www-data /var/www/.ssh; \
chmod 700 /var/www/.ssh
VOLUME /var/www/html
ENV TZ=Asia/Seoul
COPY entrypoint_hidche_app.sh /usr/local/bin/
COPY id_ecdsa.key /var/www/.ssh/id_ecdsa
COPY known_hosts /var/www/.ssh/known_hosts
RUN \
chown www-data:www-data /var/www/.ssh/*; \
chmod 600 /var/www/.ssh/*;
ENTRYPOINT ["entrypoint_hidche_app.sh"]
CMD ["php-fpm"]