dagger-rs/crates/dagger-sdk/examples/existing-dockerfile/app
2023-02-17 17:50:45 +01:00
..
public add with dockerfile 2023-02-17 17:50:45 +01:00
src add with dockerfile 2023-02-17 17:50:45 +01:00
.gitignore add with dockerfile 2023-02-17 17:50:45 +01:00
Dockerfile add with dockerfile 2023-02-17 17:50:45 +01:00
dockerignore add with dockerfile 2023-02-17 17:50:45 +01:00
package-lock.json add with dockerfile 2023-02-17 17:50:45 +01:00
package.json add with dockerfile 2023-02-17 17:50:45 +01:00
README.md add with dockerfile 2023-02-17 17:50:45 +01:00
tsconfig.json add with dockerfile 2023-02-17 17:50:45 +01:00

React Build

This is based on the Getting Started guide for Nodejs

A simple react app is created with create-react-app which is built and tested by build.js or build.ts.

Run:

npm install

and then:

node --loader ts-node/esm ./build.ts

or

node ./build.js