diff --git a/images/rules-as-code/Dockerfile b/images/rules-as-code/Dockerfile index 60c4b60..6965a94 100644 --- a/images/rules-as-code/Dockerfile +++ b/images/rules-as-code/Dockerfile @@ -3,8 +3,10 @@ FROM uselagoon/python-3.11:latest ENV COUNTRY_TEMPLATE_VERSION=6.0.1 ENV OPENFISCA_CORE_VERSION=41.4.2 ENV COUNTRY_NAME=rules +# tells the local development environment on which port we are running +ENV LAGOON_LOCALDEV_HTTP_PORT=8800 -EXPOSE 3000 +EXPOSE 8800 WORKDIR /app # Install OpenFisca-Core dependencies @@ -23,4 +25,4 @@ RUN tar -xzf /app/$COUNTRY_TEMPLATE_VERSION.tar.gz -C /app && \ COPY bootstrap.sh /app RUN . /app/bootstrap.sh -CMD ["openfisca", "serve", "--bind", "0.0.0.0:3000"] +CMD ["openfisca", "serve", "--bind", "0.0.0.0:8800"]