chore: basic dockerfile
This commit is contained in:
parent
51e8db651c
commit
8c4cbcdfdc
@ -2,4 +2,6 @@ node_modules/
|
||||
.github/
|
||||
.vscode/
|
||||
build/
|
||||
yarn-error.log
|
||||
yarn-error.log
|
||||
.husky/
|
||||
.git/
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user