git actions v2

This commit is contained in:
Davidson Gomes
2024-06-09 14:55:20 -03:00
parent 7dd4d8ae86
commit a2dbfed19c
3 changed files with 20 additions and 4 deletions

View File

@@ -31,7 +31,7 @@ RUN chmod +x ./Docker/scripts/*
ENV DATABASE_CONNECTION_URI=postgres://postgres:pass@localhost/evolution
RUN ./Docker/scripts/deploy_database.sh
RUN ./Docker/scripts/generate_database.sh
RUN npm run build
@@ -50,4 +50,4 @@ COPY --from=builder /evolution .
ENV DOCKER_ENV=true
ENTRYPOINT ["/bin/bash", "-c", ". ./scripts/run_database_operation_deploy.sh && npm run start:prod" ]
ENTRYPOINT ["/bin/bash", "-c", ". ./Docker/scripts/deploy_database.sh && npm run start:prod" ]