Correct the warning casing do not match (#328)

This commit is contained in:
Evgeniy Antonyuk 2024-08-29 14:10:08 +03:00 committed by GitHub
parent bca297b47c
commit 4e080bd5b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -69,7 +69,7 @@ RUN cd ${SRC_PATH} && \
COPY --chown=onlyoffice:onlyoffice config/mysql/conf.d/mysql.cnf /etc/mysql/conf.d/mysql.cnf
FROM $DOTNET_RUN as dotnetrun
FROM $DOTNET_RUN AS dotnetrun
ARG BUILD_PATH
ARG SRC_PATH
ENV BUILD_PATH=${BUILD_PATH}
@ -100,7 +100,7 @@ USER onlyoffice
EXPOSE 5050
ENTRYPOINT ["python3", "docker-entrypoint.py"]
FROM node:20-slim as noderun
FROM node:20-slim AS noderun
ARG BUILD_PATH
ARG SRC_PATH
ENV BUILD_PATH=${BUILD_PATH}
@ -194,7 +194,7 @@ ENTRYPOINT [ "/docker-entrypoint.sh" ]
CMD ["/usr/local/openresty/bin/openresty", "-g", "daemon off;"]
## Doceditor ##
FROM noderun as doceditor
FROM noderun AS doceditor
WORKDIR ${BUILD_PATH}/products/ASC.Editors/editor
COPY --chown=onlyoffice:onlyoffice docker-entrypoint.py ./docker-entrypoint.py
@ -203,7 +203,7 @@ COPY --from=base --chown=onlyoffice:onlyoffice ${SRC_PATH}/publish/web/editor/ .
CMD ["server.js", "ASC.Editors"]
## Login ##
FROM noderun as login
FROM noderun AS login
WORKDIR ${BUILD_PATH}/products/ASC.Login/login
COPY --chown=onlyoffice:onlyoffice docker-entrypoint.py ./docker-entrypoint.py