You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the base images (pocnestjs-base-dev and pocnestjs-base-prod) are build inside the global-setup.ts for e2e test services.
const[baseImageDev,baseImageProd]=awaitPromise.all([// build docker image with node_module for developmentGenericContainer.fromDockerfile('./').withBuildArgs({NODE_ENV: 'development'}).build(DOCKER_IMAGE_POCNESTJS_BASE_DEV,{deleteOnExit: false,}),// build docker image with node_module for productionGenericContainer.fromDockerfile('./').withBuildArgs({NODE_ENV: 'production'}).build(DOCKER_IMAGE_POCNESTJS_BASE_PROD,{deleteOnExit: false,}),]);
With the project growing, the build process is facing errors due to npm dependencies, timeout, etc.
Sometimes the image can be build using docker and docker compose commands, but it fails inside the Testcontainer build.
Testcontainer does not provide access to Docker build log, so there is no way to know what is happening.
The goal here is to move the build process to both images do jobs in the github actions workflow
The text was updated successfully, but these errors were encountered:
Currently the base images (
pocnestjs-base-dev
andpocnestjs-base-prod
) are build inside theglobal-setup.ts
for e2e test services.With the project growing, the build process is facing errors due to npm dependencies, timeout, etc.
Sometimes the image can be build using
docker
anddocker compose
commands, but it fails inside the Testcontainer build.Testcontainer does not provide access to Docker build log, so there is no way to know what is happening.
The goal here is to move the build process to both images do jobs in the github actions workflow
The text was updated successfully, but these errors were encountered: