docker安装流程不清楚的去看相关文档
一、新建一个Dockerfile文件
FROM php:7.3-fpm
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update && apt-get install -y \
--no-install-recommends libfreetype6-dev libjpeg62-turbo-dev libmcrypt-dev libpng-dev curl zlib1g-dev libzip-dev