cronet / docker-manager.io

Manager is free accounting software for small business. Updated daily
GNU General Public License v3.0
9 stars 6 forks source link

Update Dockerfile #3

Closed lubos closed 3 years ago

lubos commented 3 years ago

This is docker file I'm using to host cloud edition.

The latest version of Manager (20.10.45) is compiled with .NET 5.0 and I'm changing zip to tar.gz for Linux. This avoids installing unzip on Linux.

As a result, I'd use mcr.microsoft.com/dotnet/core/runtime-deps:5.0 instead of ubuntu:latest

This will make Manager Server aware it runs within docker container (it will work better if RAM is constrained) and the overall image size will be smaller. It's basically amd64/debian:buster-slim with a few dependencies.

Also, in my docker file, I'm simply referencing the latest version of ManagerServer-Linux-x64.tar.gz. See URL.

With the timezone in your docker file, I think that is clever however in future versions of Manager, the program will rely on client timezone via javascript and will not use server local time for anything.