An interactive git visualization and tutorial. Aspiring students of git can use this app to educate and challenge themselves towards mastery of git!
docker pull pcottle/learnGitBranching:latest
docker run -d --name learngitbranching --restart always pcottle/learngitbranching:latest
podman run -d --name learngitbranching --restart always pcottle/learngitbranching:latest
skopeo inspect docker://docker.io/pcottle/learngitbranching:latest
oras pull pcottle/learngitbranching:latest
FROM node:20-alpine as build
WORKDIR "/src"
COPY package.json yarn.lock /src/
RUN yarn install --frozen-lockfile --ignore-scripts && \
yarn cache clean
COPY . /src
RUN yarn build
FROM scratch AS export
WORKDIR /
COPY --from=build /src/build ./build
COPY --from=build /src/assets ./assets
FROM nginx:stable-alpine
COPY --from=export /build/index.html /usr/share/nginx/html/index.html
COPY --from=export /build /usr/share/nginx/html/