chore: Update CHANGELOG, Dockerfile and add CI workflow for publishing latest Docker image

- Update CHANGELOG.md to include the new Docker workflow
- Update Dockerfile to improve the build process
- Add a new GitHub Actions workflow (.github/workflows/publish\_docker\_image\_latest.yml) to publish the latest Docker image on push to the 'v2.0.0' branch

This change allows for easier deployment of the latest version of the application, with an updated Dockerfile and a new GitHub Actions workflow to handle publishing the Docker image.
This commit is contained in:
Davidson Gomes
2024-07-03 17:25:38 -03:00
parent 6cea02252e
commit aab62e4b03
3 changed files with 61 additions and 5 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ WORKDIR /evolution
COPY ./package.json ./tsconfig.json ./
RUN npm install
RUN npm install --no-cache
COPY ./src ./src
COPY ./public ./public
@@ -39,7 +39,7 @@ WORKDIR /evolution
COPY --from=builder /evolution/package.json ./package.json
COPY --from=builder /evolution/package-lock.json ./package-lock.json
RUN npm install --omit=dev
RUN npm install --omit=dev --no-cache
COPY --from=builder /evolution/dist ./dist
COPY --from=builder /evolution/prisma ./prisma