deploying angulardart image on docker

Discussão em 'Angular' iniciado por Kais Bouafif, Abril 23, 2025.

  1. Kais Bouafif

    Kais Bouafif Guest

    hi im trying to deploy an angulardart 9https://angulardart.xyz/0 application on docker but whenever i run the container. the link doesnt work .

    this is the docker file

    FROM google/dart:2.10.5

    COPY /angulardart/pubspec.yaml /app/

    WORKDIR /app/

    RUN dart pub get

    ADD pubspec.* /app/

    RUN dart pub global activate webdev

    RUN export PATH="$PATH:/root/.pub-cache/bin"

    ADD . /app/

    WORKDIR /app

    EXPOSE 80

    ENTRYPOINT ["webdev", "serve"]

    Continue reading...

Compartilhe esta Página