Skip to content

Commit 70e2af6

Browse files
author
Vitor
committed
fix: adciona asterísco no COPY do migrator
1 parent c8f40b9 commit 70e2af6

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,5 @@ jobs:
3939
script: |
4040
cd ~/chat_tempo_real_distribuido
4141
git pull origin main
42-
docker compose up -d --build
42+
docker-compose down
43+
docker-compose up -d --build

db/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM node:18-alpine
22
WORKDIR /app
3-
COPY package.json ./
3+
COPY package*.json ./
44
RUN npm ci
55
COPY ./migrations ./migrations
66
CMD ["npm", "run", "migrate"]

0 commit comments

Comments
 (0)