Skip to content

Commit

Permalink
Merge pull request Significant-Gravitas#2024 from deece/master
Browse files Browse the repository at this point in the history
Remove requirements-docker.txt
  • Loading branch information
richbeales authored Apr 17, 2023
2 parents e6ef12d + 60b779a commit efc7b4d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 30 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ RUN chown appuser:appuser /home/appuser
USER appuser

# Copy the requirements.txt file and install the requirements
COPY --chown=appuser:appuser requirements-docker.txt .
RUN pip install --no-cache-dir --user -r requirements-docker.txt
COPY --chown=appuser:appuser requirements.txt .
RUN sed -i '/Items below this point will not be included in the Docker Image/,$d' requirements.txt && \
pip install --no-cache-dir --user -r requirements.txt

# Copy the application files
COPY --chown=appuser:appuser autogpt/ ./autogpt
Expand Down
28 changes: 0 additions & 28 deletions requirements-docker.txt

This file was deleted.

2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ sourcery
isort
gitpython==3.1.31

# Items below this point will not be included in the Docker Image

# Testing dependencies
pytest
asynctest
Expand Down

0 comments on commit efc7b4d

Please sign in to comment.