Skip to content

Commit

Permalink
Update Dockerfile to expose python port 8800 instead of 3000
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkCalvert committed Mar 12, 2024
1 parent 13c44ba commit 958256a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions images/rules-as-code/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"]

0 comments on commit 958256a

Please sign in to comment.