diff --git a/Server/Dockerfile b/Server/Dockerfile index ac5ddd96..2390be15 100644 --- a/Server/Dockerfile +++ b/Server/Dockerfile @@ -29,7 +29,9 @@ RUN \ unzip -o Remotely_Server_Linux-x64.zip -d /var/www/remotely && \ rm Remotely_Server_Linux-x64.zip && \ setfacl -R -m u:www-data:rwx /var/www/remotely && \ - chown -R www-data:www-data /var/www/remotely + chown -R www-data:www-data /var/www/remotely \ + touch /var/www/remotely/Remotely.db \ + cp /var/www/remotely/appsettings.json /var/www/remotely/appsettings.Production.json WORKDIR /var/www/remotely ENTRYPOINT ["/usr/bin/dotnet", "/var/www/remotely/Remotely_Server.dll"] \ No newline at end of file