Create files for mounting.

This commit is contained in:
Jared Goodwin 2021-04-18 17:30:36 -07:00
parent f449c8e503
commit 1a4657aba9

View File

@ -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"]