Skip to content

Commit

Permalink
Install app links client in docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
JElgar committed Aug 27, 2024
1 parent b098d11 commit a468ceb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v4
with:
context: "{{defaultContext}}:causes_service"
context: ./causes_service
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
8 changes: 8 additions & 0 deletions causes_service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,17 @@ RUN apt-get update -y && \

RUN pip install gunicorn

COPY ./app_links/generated_client/requirements.txt /app/app_links/generated_client
RUN pwd && ls && ls /app/app_links && ls /app/app_links/generated_client && cat /app/app_links/generated_client/requirements.txt
RUN pip install -r /app/app_links/generated_client/requirements.txt

COPY ./entrypoint.sh .
RUN chmod +x /app/entrypoint.sh

COPY . .

WORKDIR /app/app_links/generated_client
RUN python setup.py install
WORKDIR /app

ENTRYPOINT ["/app/entrypoint.sh"]

0 comments on commit a468ceb

Please sign in to comment.