mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-05-16 05:07:34 +08:00
change docker CONTEXT
This commit is contained in:
@@ -4,7 +4,7 @@ FROM openresty/openresty:alpine
|
||||
RUN apk add --no-cache gettext bash curl openssl socat
|
||||
|
||||
# 拷贝 entrypoint
|
||||
COPY ./entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||
COPY .docker/openresty/entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||
RUN chmod +x /usr/local/bin/entrypoint.sh
|
||||
|
||||
CMD ["/bin/sh", "/usr/local/bin/entrypoint.sh"]
|
||||
|
||||
@@ -81,7 +81,7 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local
|
||||
ENV LOG_CHANNEL=stderr
|
||||
ENV RUNNING_IN_DOCKER=1
|
||||
|
||||
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||
COPY .docker/php/entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||
RUN chmod +x /usr/local/bin/entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user