setting up the docker with dockerfiles💀😭😭

This commit is contained in:
Just-Simon-Dev committed 2023-05-26 21:42:54 +02:00
1 parent f43735e2cb
commit 0df546a6cb
4 files changed
+95

No files matched your search

+11
View File
@@ -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" ]