From 8011e1c63130c45d2724ee74f035acf13b9da951 Mon Sep 17 00:00:00 2001 From: Dnomd343 Date: Sat, 15 Oct 2022 01:03:47 +0800 Subject: [PATCH] build: update boot command --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 423f891..6aa882f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,11 +27,11 @@ WORKDIR /asset/etc/php8/ RUN sed -i 's/^;\(pid\)/\1/' /etc/php8/php-fpm.conf && mv /etc/php8/php-fpm.conf ./ COPY ./nginx/ /asset/etc/nginx/ COPY ./ /asset/kms-server/ -RUN ln -s /kms-server/kms.php /asset/usr/bin/kms +RUN ln -s /kms-server/kms.php /asset/usr/bin/kms-server FROM alpine:3.16 RUN apk add --no-cache nginx php8 php8-fpm php8-iconv php8-pcntl php8-posix COPY --from=asset /asset/ / EXPOSE 1688/tcp 1689/tcp WORKDIR /kms-server/ -ENTRYPOINT ["kms"] +ENTRYPOINT ["kms-server"]