Update Dockerfile

This commit is contained in:
Jared Goodwin 2021-04-19 13:31:59 -07:00
parent bfe974423e
commit 7194aeaba7

View File

@ -29,9 +29,7 @@ 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 && \
touch /var/www/remotely/Remotely.db && \
cp /var/www/remotely/appsettings.json /var/www/remotely/appsettings.Production.json
chown -R www-data:www-data /var/www/remotely
WORKDIR /var/www/remotely
ENTRYPOINT ["/usr/bin/dotnet", "/var/www/remotely/Remotely_Server.dll"]