FROM php:8.1.9-fpm-alpine3.16 LABEL author="mybsdc " \ maintainer="luolongfei " ENV TZ Asia/Shanghai ENV IS_HEROKU 1 WORKDIR /app COPY . ./ COPY ./heroku/nginx.template.conf ./ COPY ./heroku/web ./web/ RUN set -eux \ && apk update \ && apk add --no-cache tzdata bash nginx gettext COPY ./heroku/startup.sh / RUN chmod +x /startup.sh # https://devcenter.heroku.com/articles/container-registry-and-runtime#dockerfile-commands-and-runtime CMD ["/bin/bash", "-c", "/startup.sh"]