https://github.com/ymasaoka/docker-spfx
Create a development environment for SharePoint Framework (SPFx) with a Docker container.
https://github.com/ymasaoka/docker-spfx
docker docker-compose docker-spfx sharepoint-framework spfx-solution
Last synced: about 1 month ago
JSON representation
Create a development environment for SharePoint Framework (SPFx) with a Docker container.
- Host: GitHub
- URL: https://github.com/ymasaoka/docker-spfx
- Owner: ymasaoka
- License: mit
- Created: 2020-08-26T21:25:14.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-12-01T11:34:50.000Z (over 4 years ago)
- Last Synced: 2025-03-12T14:49:32.754Z (over 1 year ago)
- Topics: docker, docker-compose, docker-spfx, sharepoint-framework, spfx-solution
- Language: Dockerfile
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-spfx
Create a development environment for SharePoint Framework (SPFx) with a Docker container.
1. **Clone this repository** to a directory of your choice.
1. Move to the **docker-spfx** directory.
1. Execute the following command to start the container.
```bash
docker-compose up -d --build
```
1. Run the following command to confirm that the container has started.
```bash
docker-compose ps
```
# Creating SPFx Solution
Create a SPFx solution using the docker-compose command.
```bash
docker-compose run --rm app yo @microsoft/sharepoint
```
For more information on creating solution files, see [here](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/sharepoint-framework-overview).