Skip to content

Commit

Permalink
trying to run mock ims with gunicorn, flask is giving 401 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rabellino-noaa committed Jun 27, 2024
1 parent fb22847 commit cf3bdcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/mockims/dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ LABEL maintainer ${maintainer}
WORKDIR /python/ims_service

# Copy source files
COPY ./python/idsse_testing/ims_service/src/ims_service.py /python/ims_service/
COPY ./python/idsse_testing/ims_service/src/ims_service.py /app/app.py

# (TEMPORARY) Copy canned criteria files. To be removed when integration with IMS API exists
COPY ./python/idsse_testing/ims_service/profiles/*.json /python/profiles/
Expand All @@ -22,7 +22,7 @@ COPY ./python/idsse_testing/ims_service/profiles/*.json /python/profiles/
#VOLUME /python/profiles

# Run with flask (local only)
#ENTRYPOINT [ "python3", "/python/ims_service/ims_service.py" ]
#ENTRYPOINT [ "python3", "/app/app.py" ]

# Run with gunicorn
ENV PORT 5000
Expand Down

0 comments on commit cf3bdcc

Please sign in to comment.