docker
This commit is contained in:
parent
98cef012af
commit
ee60d47cc2
2 changed files with 11 additions and 0 deletions
6
lightning/Dockerfile
Normal file
6
lightning/Dockerfile
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# syntax=docker/dockerfile:experimental
|
||||||
|
|
||||||
|
FROM node:alpine
|
||||||
|
COPY . .
|
||||||
|
CMD npm run start
|
||||||
|
EXPOSE 3000
|
5
lightning/build
Executable file
5
lightning/build
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
pnpm install &&
|
||||||
|
pnpm run build &&
|
||||||
|
docker build -t lightning .
|
Loading…
Add table
Reference in a new issue