containerize all the project
This commit is contained in:
1 parent
6c5bc375da
commit
87f9cbb863
4 files changed
+35
-18
No files matched your search
@@ -0,0 +1,12 @@
|
||||
FROM node:20-alpine AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm ci
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
|
||||
CMD ["sh", "-c", "cp -rd /app/dist/* /out/"]
|
||||
Reference in new issue
Block a user