SamagraX-Stencil / stencil

NestJS on steroids 💪
https://stencil.samagra.io
MIT License
29 stars 29 forks source link

Setup through Dockerfile not working #87

Open dhruv-1001 opened 5 months ago

dhruv-1001 commented 5 months ago

Description

The current setup process using the Dockerfile is encountering failures, preventing successful execution of the project. When attempting to bootstrap a new project using stencil new and subsequently running the project using docker build and docker run, the process fails at a crucial step. This issue aims to address the root cause of the failure and ensure that the Dockerfile setup process functions as intended.

Objective

The main objective of this issue is to investigate and resolve the setup failure encountered when using the Dockerfile for a Stencil project. By identifying and rectifying the underlying issue, we aim to enable developers to seamlessly bootstrap and run Stencil projects within Docker containers.

Goals

Complexity : Medium

Product Name

Stencil

Organisation Name

SamagraX

Domain

DevOps

Tech Skills Needed

Docker, Dockerfile

Savio629 commented 5 months ago

@dhruv-1001 Can you specifically specify what error did you faced?

techsavvyash commented 5 months ago

@Savio629 the reproduction steps for this step is just to bootstrap a new project using stencil new and then try running the project using the docker built . and docker run and it fails at that step.

Savio629 commented 4 months ago

I fixed almost 2 issues Any idea how to fix this? image

Also I tried running docker-compose.yaml image

techsavvyash commented 4 months ago

Does your env have a "SHADOW_DATABASE_URL" field?

Savio629 commented 4 months ago

NO Below is the only field with shadowdb SHADOW_DATABASE_PORT=7001 SHADOW_DATABASE_USERNAME=root SHADOW_DATABASE_PASSWORD=secret SHADOW_DATABASE_NAME=shadow SHADOW_DATABASE_HOST=localhost

Savio629 commented 3 months ago

Description

The current setup process using the Dockerfile is encountering failures, preventing successful execution of the project. When attempting to bootstrap a new project using stencil new and subsequently running the project using docker build and docker run, the process fails at a crucial step. This issue aims to address the root cause of the failure and ensure that the Dockerfile setup process functions as intended.

Objective

The main objective of this issue is to investigate and resolve the setup failure encountered when using the Dockerfile for a Stencil project. By identifying and rectifying the underlying issue, we aim to enable developers to seamlessly bootstrap and run Stencil projects within Docker containers.

Goals

Complexity : Medium

Product Name

Stencil

Organisation Name

SamagraX

Domain

DevOps

Tech Skills Needed

Docker, Dockerfile

techsavvyash commented 2 months ago

Should be closed via SamagraX-stencil/schematics#8