chore: basic dockerfile
This commit is contained in:
@ -0,0 +1,9 @@
|
||||
FROM node:16 as build
|
||||
WORKDIR /app
|
||||
COPY package*.json yarn.lock .
|
||||
RUN yarn install
|
||||
COPY . .
|
||||
RUN yarn build
|
||||
|
||||
FROM nginx
|
||||
COPY --from=build /app/build /usr/share/nginx/html
|
Reference in New Issue
Block a user