Skip to content

Commit c628a1a

Browse files
committed
changes
1 parent 57594c0 commit c628a1a

File tree

3 files changed

+4
-11
lines changed

3 files changed

+4
-11
lines changed

deploy/Dockerfile-BE

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ COPY --from=build /app/secret /app/secret
1919
# Copy db/migration folder
2020
COPY --from=build /app/db/migrations /app/db/migrations
2121

22-
ARG PORT
23-
EXPOSE ${PORT:-8080}
24-
2522
## add user and group
2623
RUN addgroup -S appgroup && adduser -S appuser -G appgroup
2724

deploy/Dockerfile-FE

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ RUN npm prune
2121
# Run
2222
FROM base
2323

24-
ENV PORT=$PORT
25-
2624
COPY --from=build /src/.output /src/.output
2725

2826
CMD [ "node", ".output/server/index.mjs" ]

deploy/docker-compose.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)