Initial commit
This commit is contained in:
commit
e6d6427ddc
29 changed files with 4378 additions and 0 deletions
17
frontend/dockerfile
Normal file
17
frontend/dockerfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
from node:19 as base
|
||||
|
||||
workdir /app
|
||||
|
||||
copy package*.json /app
|
||||
run npm install
|
||||
copy . /app
|
||||
|
||||
|
||||
from base as dev
|
||||
cmd [ "/bin/bash" ]
|
||||
|
||||
|
||||
from base as prod
|
||||
run npm install --global http-server
|
||||
run npm run build
|
||||
cmd [ "http-server", "./dist", "--no-dotfiles" ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue