Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

FROM http://mcr.microsoft.com/dotnet/aspnet

LABEL Description="This image contains the Connect! Server." Vendor="Galileo Group AG" Version="2021.0510"

RUN apt -y update
RUN apt -y upgrade
RUN apt -y install net-tools
RUN apt -y install iputils-ping
RUN apt -y install vim

COPY . /connect/app

RUN rm -r /connect/app/Repositories
RUN rm -r /connect/app/Certificates

VOLUME /connect/data

WORKDIR /connect/app

ENV Connect__Server__Paths__RepositoryPath=/connect/data/repositories
ENV Connect__Server__Paths__CertificatePath=/connect/data/certificates

ENTRYPOINT ["dotnet", "GalileoGroup.Connect.Server.Backend.dll", "settings=/connect/data/appsettings.json?"]

EXPOSE 80/tcp
EXPOSE 443/tcp

...