You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
216 B
Docker
11 lines
216 B
Docker
4 years ago
|
from node:13 as builder
|
||
|
workdir /app
|
||
|
copy . /app
|
||
|
run npm install .
|
||
|
run npm run build
|
||
|
|
||
|
from nginx:latest
|
||
|
copy --from=builder /app/build /usr/share/nginx/html
|
||
|
copy ./nginx.conf /etc/nginx/conf.d/default.conf
|
||
|
expose 80
|