mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
* Add Azure Pipelines yml. * Remove Server Installer. * Update Release Build.yml for Azure Pipelines * Update Release Build.yml * Update Release Build.yml for Azure Pipelines * Update Release Build.yml for Azure Pipelines * Update Release Build.yml for Azure Pipelines * Update Release Build.yml for Azure Pipelines * Update signtool.exe * Update Release Build.yml * Update Publish.ps1 * Update pipeline and Dockerfile. * Move docker files. * Update Dockerfile * Update Dockerfile * Update Dockerfile * Update Dockerfile * Move files. * Update Dockerfile * Update Dockerfile * Create RewritableStream. * Finish implementation of rewritable stream and embedded data searcher. * Remove RelayCode. * Get branding from default org if orgId is missing. * Update README.md * Remove AppConstants.ServerUrl. Fix main module file path. * Update submodule. * Extract embedded data in Program.cs. * Add logging. Update submodule. * Remove size block. BinaryWriter prefixes size. * Remove unused async * Update Immense.RemoteControl * Update Release Build.yml for Azure Pipelines * Update Release Build.yml for Azure Pipelines * Use UpgradeService for determining out of date clients.
31 lines
641 B
Docker
31 lines
641 B
Docker
FROM mcr.microsoft.com/dotnet/aspnet:6.0-jammy
|
|
|
|
SHELL ["/bin/bash", "-c"]
|
|
|
|
EXPOSE 5000
|
|
|
|
ENV ASPNETCORE_ENVIRONMENT="Production"
|
|
ENV ASPNETCORE_URLS="http://*:5000"
|
|
|
|
WORKDIR /src
|
|
|
|
COPY /_immense.Remotely/Server/DockerMain.sh .
|
|
COPY /_immense.Remotely/Server/linux-x64/Server.zip .
|
|
|
|
RUN \
|
|
apt-get -y update && \
|
|
apt-get -y install unzip && \
|
|
unzip -o ./Server.zip -d /app && \
|
|
rm ./Server.zip
|
|
|
|
WORKDIR /app
|
|
|
|
RUN \
|
|
mkdir -p /remotely-data && \
|
|
sed -i 's/DataSource=Remotely.db/DataSource=\/remotely-data\/Remotely.db/' ./appsettings.json
|
|
|
|
VOLUME "/remotely-data"
|
|
|
|
RUN chmod +x "/src/DockerMain.sh"
|
|
|
|
ENTRYPOINT ["/src/DockerMain.sh"] |