Hey guys,
I was trying to execute few files from my container which are 2 html files which I can later publish on Jenkins. As my Jenkins is hosted on one host machine not in my local and we are using git . Have to run dockerfile.compose.yml and dockerfile.build to do this. My container is a windows container. This is my below dockecompose file:
version: '3.5'
services:
alpineautomation:
container_name: alpineautomation
hostname: alpineautomation
build:
context: ../..
dockerfile: devops/k8s/Dockerfile.build
args:
GITSHA1: ${GITSHA1}
image: alpineautomation
volumes:
- ./var/lib/jenkins/workspace/AlpineAutomation:C:\\ProgramData
volumes:
- ./var/lib/jenkins/workspace/AlpineAutomation