Skip to content

Commit

Permalink
Merge pull request #146 from GSA-TTS/issue-145-aanand-docker-compose-…
Browse files Browse the repository at this point in the history
…issue

Changes to support poetry export plugin
  • Loading branch information
aanand-gsa authored Jan 15, 2025
2 parents c7be926 + 42d7fb5 commit 5cf7d80
Show file tree
Hide file tree
Showing 4 changed files with 1,354 additions and 150 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Create requirements.txt
shell: bash
run: poetry export --without-hashes --format=requirements.txt > requirements.txt
run: poetry export -f requirements.txt --output requirements.txt

- name: Deploy to dev environment
uses: 18f/cg-deploy-action@main
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ ENV PYTHONPATH="${PYTHONPATH}:/app"
# Install dependencies and start app
WORKDIR /app
COPY pyproject.toml poetry.lock ./
RUN poetry self add poetry-plugin-export
RUN poetry export -f requirements.txt --output requirements.txt
RUN pip install -r requirements.txt

Expand Down
Loading

0 comments on commit 5cf7d80

Please sign in to comment.