Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/docker support #90

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dbsectrainer
Copy link

  • Add Dockerfile for containerization
  • Add docker-compose.yml for easy deployment
  • Add docker-entrypoint.sh for container initialization
  • Add configuration templates and documentation
  • Support API key configuration through environment variables
  • Add comprehensive Docker setup instructions

Fixes #85

- Add Dockerfile for containerization
- Add docker-compose.yml for easy deployment
- Add docker-entrypoint.sh for container initialization
- Add configuration templates and documentation
- Support API key configuration through environment variables
- Add comprehensive Docker setup instructions

Fixes microsoft#85
microsoft#85)

- Add development environment with hot-reloading
- Support both development and production modes
- Update documentation with Docker usage instructions
- Add troubleshooting guides
- Improve configuration options
- Update DEVELOPMENT.md with Docker instructions

Fixes microsoft#85
@dbsectrainer
Copy link
Author

@microsoft-github-policy-service agree

@danmarshall
Copy link
Collaborator

Thanks! Does it also work on Windows? I see a .sh file

&& rm -rf /var/lib/apt/lists/*

# Install Node.js and yarn
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any reason why you use Node v18 here? How about using the more recent v20 (maintenance LTS) or v22 (active LTS)? https://nodejs.org/en/about/previous-releases

@danmarshall
Copy link
Collaborator

I tried running, I got this error:

 => [data-formulator-dev development  4/12] WORKDIR /app                                                                                                                                  0.2s
 => [data-formulator-dev development  5/12] RUN mkdir -p /app/config                                                                                                                      0.5s
 => ERROR [data-formulator-dev development  6/12] COPY docker-entrypoint.sh /app/                                                                                                         0.0s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docker Support
3 participants