NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: frode on February 10, 2022, 12:33:39 PM

Title: nettalk application in a windows docker container
Post by: frode on February 10, 2022, 12:33:39 PM
Hi,

does anyone have nettalk applications running in docker containers ?
did a test with an application using mcr.microsoft.com/windows:20H2 as base image
the application runs but in my test it does not seem to have access to files in the web folder.
any suggestions on how the dockerfile should be ?

test dockerfile:

# escape=`
FROM mcr.microsoft.com/windows:20H2 AS base
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
COPY ["app/", "/app/"]
COPY ["app/start.bat", "/"]
WORKDIR "C:/app/"
RUN C:/app/vc_redist.x86.exe /install /quiet /norestart
#RUN C:/app/SyncManager.exe -iss
CMD "icacls "c:\app" /q /c /t /grant Users:f"
ENTRYPOINT ["start.bat"]
CMD [ "ping", "localhost", "-t" ] #test

EXPOSE 88

start.bat:
c:\app\SyncManager.exe -ISS
Title: Re: nettalk application in a windows docker container
Post by: frode on February 18, 2022, 01:01:50 AM
The application I tested with threw an db connection error when started
Fixed the error and the application seems to run fine now in windows docker containers