Skip to content

Commit

Permalink
ci: modifie dockerfile etl (000)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime committed Oct 25, 2024
1 parent 4edc254 commit 3a8efac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/onisep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:

- name: Push changes to prod branch
if: ${{ github.ref == 'refs/heads/prod' }}
run: git push --force-with-lease onisep HEAD:prod
run: git push --force onisep HEAD:prod

- name: Push changes to demo branch
if: ${{ github.ref == 'refs/heads/demo' }}
run: git push --force-with-lease onisep HEAD:integration && git push --force-with-lease onisep HEAD:uat && git push --force-with-lease onisep HEAD:preprod
run: git push --force onisep HEAD:integration && git push --force onisep HEAD:uat && git push --force onisep HEAD:preprod
4 changes: 4 additions & 0 deletions app/etl/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,9 @@ COPY --from=build /usr/src/mps-etl.jar .
# Exposed port
EXPOSE 3000

RUN apt-get update && apt-get install -y \
git \
&& rm -rf /var/lib/apt/lists/*

# Set the command to run the application
CMD ["java", "-jar", "mps-etl.jar"]

0 comments on commit 3a8efac

Please sign in to comment.