add dockerfile
This commit is contained in:
1 parent
27890bde6b
commit
1db28088ce
1 file changed
+9
@@ -0,0 +1,9 @@
|
|||||||
|
FROM node:18-alpine as build
|
||||||
|
WORKDIR /app
|
||||||
|
COPY package.json package-lock.json ./
|
||||||
|
RUN npm ci
|
||||||
|
COPY . ./
|
||||||
|
RUN npm run build
|
||||||
|
|
||||||
|
FROM nginx
|
||||||
|
COPY --from=build /app/dist /usr/share/nginx/html
|
||||||
Reference in new issue
Block a user