Archived
setting up the docker with dockerfiles💀😭😭
This commit is contained in:
1 parent
f43735e2cb
commit
0df546a6cb
4 files changed
+95
No files matched your search
@@ -0,0 +1,11 @@
|
||||
FROM node:20-alpine3.16 AS build
|
||||
|
||||
WORKDIR /backend
|
||||
|
||||
RUN npm install yarn
|
||||
|
||||
COPY . .
|
||||
RUN yarn install --frozen-lockfile
|
||||
RUN npm run build
|
||||
|
||||
CMD [ "npm", "run", "prod" ]
|
||||
Reference in new issue
Block a user