more
This commit is contained in:
parent
c7a5ffb9c1
commit
9cbfe2e336
17
Dockerfile
17
Dockerfile
|
@ -1,3 +1,18 @@
|
|||
FROM php:8.2.16-cli-alpine3.19
|
||||
|
||||
CMD ["php", "-f", "/var/www/html/start.php"]
|
||||
LABEL org.opencontainers.image.authors="anfu"
|
||||
|
||||
RUN apk add --no-cache nginx
|
||||
|
||||
VOLUME /var/www/html
|
||||
|
||||
ENV NACOS_ADDR="192.168.1.105:8848" \
|
||||
SERVER_ADDR="192.168.1.161:80"
|
||||
|
||||
COPY . /var/www/html
|
||||
|
||||
WORKDIR /var/www/html
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
ENTRYPOINT ["/run.sh"]
|
||||
|
|
Loading…
Reference in New Issue