NetTalk Central

Author Topic: nettalk application in a windows docker container  (Read 2824 times)

frode

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • Email
nettalk application in a windows docker container
« 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
« Last Edit: February 10, 2022, 12:44:00 PM by frode »

frode

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • Email
Re: nettalk application in a windows docker container
« Reply #1 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