Skip to content

Commit c7a3db5

Browse files
committed
fix(docker): corrige CMD para dist/main.js (nest build strip src/) e remove version obsoleto
1 parent b3974d2 commit c7a3db5

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ EXPOSE 3001
5555
HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=3 \
5656
CMD wget --no-verbose --tries=1 --spider http://localhost:3001/health || exit 1
5757

58-
CMD ["node", "dist/src/main.js"]
58+
CMD ["node", "dist/main.js"]

infra/docker-compose.prod.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: '3.8'
2-
31
# ========================================
42
# BUFFS API - Infraestrutura de Produção (EC2)
53
# ========================================

0 commit comments

Comments
 (0)