File tree 3 files changed +56
-0
lines changed
3 files changed +56
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM node:21
2
+
3
+ WORKDIR /base
4
+
5
+ COPY ["package.json" , "./package.json" ]
6
+ COPY [".yarnrc" , "./.yarnrc" ]
7
+ COPY [".npmrc" , "./.npmrc" ]
8
+ COPY [".eslintrc.js" , "./.eslintrc.js" ]
9
+ COPY ["turbo.json" , "./turbo.json" ]
10
+ COPY ["yarn.lock" , "./yarn.lock" ]
11
+ COPY ["tsconfig.json" , "./tsconfig.json" ]
12
+
13
+ COPY ["packages/typescript-config" , "./packages/typescript-config" ]
14
+ COPY ["packages/eslint-config" , "./packages/eslint-config" ]
15
+ COPY ["packages/common" , "./packages/common" ]
16
+ COPY ["backend/mail-zeus" , "./backend/mail-zeus" ]
17
+ COPY ["backend/mail" , "./backend/mail" ]
18
+
19
+
20
+ RUN cd /base
21
+ RUN yarn install
22
+ RUN yarn run build
23
+
24
+ EXPOSE 25
25
+
26
+ WORKDIR /base/backend/mail
27
+
28
+ CMD ["yarn" , "dev" ]
Original file line number Diff line number Diff line change
1
+ version : 0.2
2
+
3
+ env :
4
+ secrets-manager :
5
+
6
+
7
+ phases :
8
+ install :
9
+ runtime-versions :
10
+ nodejs : 21
11
+ build :
12
+ commands :
13
+ - mv docker/mail/Dockerfile .
14
+ - cd backend/mail
15
+ - touch .env
16
+ - cd ../..
17
+ artifacts :
18
+ files :
19
+ - ' **/*'
Original file line number Diff line number Diff line change
1
+ version : " 3.8"
2
+
3
+ services :
4
+ backendapi :
5
+ image : shawakash/paybox-mail:{{tag}}
6
+ restart : unless-stopped
7
+ ports :
8
+ - 25:25
9
+ command : " yarn dev"
You can’t perform that action at this time.
0 commit comments