...
Code Block |
---|
FROM mcr.microsoft.com/dotnet/aspnet:7.0 LABEL Description="This image contains the Connect! Server." Vendor="Galileo Group AG" Version="20222023.0.3.7041" RUN apt -y update RUN apt -y upgrade RUN apt -y install netiputils-toolsping RUN apt -y install iputilsnet-pingtools RUN apt -y install vimprocps RUN apt -y install procpsvim COPY . /connect/app # >>> Use this to store persistent data on volume /connect/data # Things to do before starting the container: # - Create JSON file "appsettings" containing configuration settings (see user manual for further information) VOLUME /connect/data # <<< # >>> Use this to store persistent data in container (for test purposes only!) # RUN mkdir /connect/data # RUN echo "{}" > /connect/data/appsettings.json # <<< # >>> Use this to add specific trusted root certificates # COPY my_trusted_root_ca1.crt /usr/local/share/ca-certificates/ # COPY my_trusted_root_ca2.crt /usr/local/share/ca-certificates/ # COPY my_trusted_root_ca3.crt /usr/local/share/ca-certificates/ # RUN update-ca-certificates # <<< WORKDIR /connect/app ENTRYPOINT ["dotnet", "GalileoGroup.Connect.Server.dll", "--settings=/connect/data/appsettings.json?"] EXPOSE 80/tcp EXPOSE 443/tcp |
...