diff --git a/lightning/Dockerfile b/lightning/Dockerfile new file mode 100644 index 0000000..25d33d4 --- /dev/null +++ b/lightning/Dockerfile @@ -0,0 +1,6 @@ +# syntax=docker/dockerfile:experimental + +FROM node:alpine +COPY . . +CMD npm run start +EXPOSE 3000 diff --git a/lightning/build b/lightning/build new file mode 100755 index 0000000..573e05d --- /dev/null +++ b/lightning/build @@ -0,0 +1,5 @@ +#!/bin/bash + +pnpm install && +pnpm run build && +docker build -t lightning .