更改Dockerfile
This commit is contained in:
parent
4a1b300b23
commit
9c8a3b5fac
@ -5,7 +5,7 @@
|
||||
# @contact group@hyperf.io
|
||||
# @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
|
||||
FROM hyperf/hyperf:8.0-alpine-v3.15-swoole
|
||||
FROM hyperf/hyperf:8.0-alpine-v3.16-swoole
|
||||
LABEL maintainer="Hyperf Developers <group@hyperf.io>" version="1.0" license="MIT" app.name="Hyperf"
|
||||
|
||||
##
|
||||
@ -49,6 +49,6 @@ WORKDIR /opt/www
|
||||
COPY . /opt/www
|
||||
RUN composer install --no-dev -o && php bin/hyperf.php
|
||||
|
||||
EXPOSE 9501
|
||||
EXPOSE 9901
|
||||
|
||||
ENTRYPOINT ["php", "/opt/www/bin/hyperf.php", "start"]
|
||||
|
Loading…
Reference in New Issue
Block a user