File tree Expand file tree Collapse file tree 3 files changed +4
-11
lines changed
Expand file tree Collapse file tree 3 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,6 @@ COPY --from=build /app/secret /app/secret
1919# Copy db/migration folder
2020COPY --from=build /app/db/migrations /app/db/migrations
2121
22- ARG PORT
23- EXPOSE ${PORT:-8080}
24-
2522## add user and group
2623RUN addgroup -S appgroup && adduser -S appuser -G appgroup
2724
Original file line number Diff line number Diff line change @@ -21,8 +21,6 @@ RUN npm prune
2121# Run
2222FROM base
2323
24- ENV PORT=$PORT
25-
2624COPY --from=build /src/.output /src/.output
2725
2826CMD [ "node", ".output/server/index.mjs" ]
Original file line number Diff line number Diff line change @@ -18,9 +18,8 @@ services:
1818 - POSTGRES_DB=secret
1919
2020 frontend :
21- build :
22- context : ../
23- dockerfile : ./deploy/Dockerfile-FE
21+ image : cksidharthan/ghostsend-frontend:latest
22+ platform : linux/amd64
2423 ports :
2524 - " 6666:3000"
2625 env_file :
@@ -32,9 +31,8 @@ services:
3231 - postgres-secret
3332
3433 backend :
35- build :
36- context : ../
37- dockerfile : deploy/Dockerfile-BE
34+ image : cksidharthan/ghostsend-backend:latest
35+ platform : linux/amd64
3836 ports :
3937 - " 8080:8080"
4038 networks :
You can’t perform that action at this time.
0 commit comments