diff --git a/docker/frontend/build_and_push_frontend.Dockerfile b/docker/frontend/build_and_push_frontend.Dockerfile index 55f570187..8bba52c3b 100644 --- a/docker/frontend/build_and_push_frontend.Dockerfile +++ b/docker/frontend/build_and_push_frontend.Dockerfile @@ -6,7 +6,7 @@ ################################ # 1. force platform to the current architecture to increase build speed time on multi-platform builds -FROM --platform=$BUILDPLATFORM node:lts-bookworm-slim as builder-base +FROM --platform=$BUILDPLATFORM node:lts-bookworm-slim AS builder-base COPY src/frontend /frontend RUN cd /frontend && npm install && npm run build @@ -14,7 +14,7 @@ RUN cd /frontend && npm install && npm run build ################################ # RUNTIME ################################ -FROM nginxinc/nginx-unprivileged:stable-bookworm-perl as runtime +FROM nginxinc/nginx-unprivileged:stable-bookworm-perl AS runtime LABEL org.opencontainers.image.title=langflow-frontend LABEL org.opencontainers.image.authors=['Langflow'] @@ -26,4 +26,4 @@ COPY --from=builder-base --chown=nginx /frontend/build /usr/share/nginx/html COPY --chown=nginx ./docker/frontend/nginx.conf /etc/nginx/conf.d/default.conf COPY --chown=nginx ./docker/frontend/start-nginx.sh /start-nginx.sh RUN chmod +x /start-nginx.sh -ENTRYPOINT ["/start-nginx.sh"] \ No newline at end of file +ENTRYPOINT ["/start-nginx.sh"]