Browse Source

build: update boot command

master
Dnomd343 2 years ago
parent
commit
8011e1c631
  1. 4
      Dockerfile

4
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 ./ RUN sed -i 's/^;\(pid\)/\1/' /etc/php8/php-fpm.conf && mv /etc/php8/php-fpm.conf ./
COPY ./nginx/ /asset/etc/nginx/ COPY ./nginx/ /asset/etc/nginx/
COPY ./ /asset/kms-server/ 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 FROM alpine:3.16
RUN apk add --no-cache nginx php8 php8-fpm php8-iconv php8-pcntl php8-posix RUN apk add --no-cache nginx php8 php8-fpm php8-iconv php8-pcntl php8-posix
COPY --from=asset /asset/ / COPY --from=asset /asset/ /
EXPOSE 1688/tcp 1689/tcp EXPOSE 1688/tcp 1689/tcp
WORKDIR /kms-server/ WORKDIR /kms-server/
ENTRYPOINT ["kms"] ENTRYPOINT ["kms-server"]

Loading…
Cancel
Save