Skip to content

Commit

Permalink
fixing broken things
Browse files Browse the repository at this point in the history
  • Loading branch information
rabellino-noaa committed Jun 28, 2024
1 parent f51d6d9 commit c18baaf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docker/mockims/dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ LABEL maintainer ${maintainer}
WORKDIR /python/ims_service

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

# (TEMPORARY) Copy canned criteria files. To be removed when integration with IMS API exists
COPY ./python/ims_service/profiles/*.json /python/profiles/
COPY ./python/idsse_testing/ims_service/profiles/*.json /python/profiles/

# The volume mapping here is kind of strange for k8s deployment, because if we map an empty volume to /criteria
# then the temp copy of json above will get blown away by the volume mapping...just omit it for k8s deployment
Expand Down
2 changes: 1 addition & 1 deletion python/idsse_testing/ims_service/src/ims_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ def response():
# ims_request = ims_request | {os.path.basename(json_file).strip('.json') : profile}

# host=0.0.0.0 is required for flask to work properly in docker and k8s env
app.run(host='0.0.0.0', port=5000)
app.run(host='0.0.0.0', port=5000)

0 comments on commit c18baaf

Please sign in to comment.