仓库:
https://gitee.com/jcove/SmallGo.git
dockerfile:
FROM r8112013/php73:latest
ENV WWWAPP=/var/www/SmallGo
#RUN set -eux \
# && if [ ! -d "$WWWAPP" ];then mkdir -p $WWWAPP; fi
WORKDIR $WWWAPP
COPY . $WWWAPP
RUN set -eux \
&& chmod -R 775 storage \
&& chmod -R 775 public/uploads \
&& chmod -R 775 bootstrap/cache \
&& composer config repo.packagist composer https://mirrors.aliyun.com/composer/ \
&& composer install \
&& php artisan smallgo:install \
&& chown www-data:www-data $WWWAPP -R
ENTRYPOINT ["/bin/sh"]
CMD ["php-fpm"]
Content type
Image
Digest
sha256:3e33b0c06…
Size
99.6 MB
Last updated
over 3 years ago
docker pull r8112013/smallgo