Created
October 9, 2020 10:42
-
-
Save anoopt/e69a71ebb42d592c614da90ed1e523e7 to your computer and use it in GitHub Desktop.
Docker file needed for GitHub codespaces SPFx development
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:10.22.0 | |
RUN npm i -g gulp@3 yo @microsoft/generator-sharepoint@1.11.0 | |
VOLUME /usr/app/spfx | |
WORKDIR /usr/app/spfx | |
RUN useradd --create-home --shell /bin/bash spfx && \ | |
usermod -aG sudo spfx && \ | |
chown -R spfx:spfx /usr/app/spfx | |
USER spfx | |
CMD /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment