Skip to content

Commit aa54966

Browse files
committed
Include license files in Docker image
Signed-off-by: Victor Chang <[email protected]>
1 parent e3131d6 commit aa54966

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
# limitations under the License.
1414

1515
.github/
16-
docs/
1716
demos/
1817
guidelines/
1918
tests/

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ RUN dotnet publish -c Release -o out --nologo src/InformaticsGateway/Monai.Deplo
2929
FROM mcr.microsoft.com/dotnet/aspnet:6.0-focal
3030

3131
ENV DEBIAN_FRONTEND=noninteractive
32-
3332
RUN apt-get clean \
3433
&& apt-get update \
3534
&& apt-get install -y --no-install-recommends \
@@ -39,10 +38,11 @@ RUN apt-get clean \
3938
&& rm -rf /var/lib/apt/lists
4039

4140
WORKDIR /opt/monai/ig
42-
COPY --from=build /app/out .
43-
#COPY docs/compliance/open-source-licenses.md .
4441

42+
COPY --from=build /app/out .
4543
COPY --from=build /tools /opt/dotnetcore-tools
44+
COPY LICENSE ./
45+
COPY docs/compliance/third-party-licenses.md ./
4646

4747
EXPOSE 104
4848
EXPOSE 2575

0 commit comments

Comments
 (0)