Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Source/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ WORKDIR /src

COPY . ./

RUN dotnet dev-certs https

FROM build AS publish
COPY ./Directory.Packages.props /app/Directory.Packages.props
COPY ./Directory.Build.props /app/Directory.Build.props
Expand Down Expand Up @@ -56,4 +58,4 @@ RUN chown -R appuser:appgroup /tmp
USER appuser:appgroup

ENV ASPNETCORE_URLS=https://+:9001
ENTRYPOINT ["/usr/bin/supervisord", "-c", "/app/supervisord.conf", "-u", "1000"]
ENTRYPOINT ["/usr/bin/supervisord", "-c", "/app/supervisord.conf", "-u", "1000"]
2 changes: 1 addition & 1 deletion Source/Dockerfile.e2e-tests
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ENV ASPNETCORE_ENVIRONMENT=Release
COPY . ./

# Install developer certificate
RUN dotnet dev-certs https
RUN dotnet dev-certs https

# Build tests
WORKDIR /src/CDR.DataRecipient.E2ETests
Expand Down
2 changes: 1 addition & 1 deletion Source/Dockerfile.integration-tests
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ENV ASPNETCORE_ENVIRONMENT=Release
COPY . ./

# Install developer certificate
RUN dotnet dev-certs https
RUN dotnet dev-certs https

# Install ca certificate
RUN apt-get update && apt-get install -y sudo
Expand Down
4 changes: 3 additions & 1 deletion Source/Dockerfile.mdr.integration-tests
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ WORKDIR /src

COPY . ./

dotnet dev-certs https

FROM build AS publish
COPY ./Directory.Packages.props /app/Directory.Packages.props
COPY ./Directory.Build.props /app/Directory.Build.props
Expand Down Expand Up @@ -39,4 +41,4 @@ RUN sudo cp ./web/Certificates/ca.crt /usr/local/share/ca-certificates/ca.crt
RUN sudo update-ca-certificates

ENV ASPNETCORE_URLS=https://+:9001
ENTRYPOINT ["/usr/bin/supervisord", "-c", "/app/supervisord.conf"]
ENTRYPOINT ["/usr/bin/supervisord", "-c", "/app/supervisord.conf"]
2 changes: 2 additions & 0 deletions Source/Dockerfile.unit-tests
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ ENV ASPNETCORE_ENVIRONMENT=Release
# Copy source
COPY . ./

dotnet dev-certs https

# Install ca certificate
RUN apt-get update && apt-get install -y sudo
RUN sudo cp ./CDR.DataRecipient.Web/Certificates/ca.crt /usr/local/share/ca-certificates/ca.crt
Expand Down