Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete setup.py #1001

Merged
merged 10 commits into from
Aug 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions dockerfiles/web/Dockerfile-prod
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ RUN pip3 install -r requirements.txt
# Packages to install with yarn.
COPY package.json /usr/src/app/
RUN yarn
# Copy python script to initialize database.
COPY /usr/src/app/
Comment on lines -46 to -47
Copy link
Collaborator Author

@michplunkett michplunkett Aug 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This deletion addresses the issue in this build: https://github.com/lucyparsons/OpenOversight/actions/runs/5732169896/job/15534595950

ERROR: failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: dockerfile parse error line 47: COPY requires at least two arguments, but only one was provided. Destination could not be determined
Error: buildx failed with: ERROR: failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: dockerfile parse error line 47: COPY requires at least two arguments, but only one was provided. Destination could not be determined


WORKDIR /usr/src/app/

Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ requests~=2.31.0
rich~=13.4.2
s3transfer~=0.6.1
selenium~=4.10.0
setuptools==68.0.0
six~=1.16.0
sphinx~=7.0.1
SQLAlchemy==1.4.47 # Updating this breaks the build for python 3.9
Expand Down
18 changes: 0 additions & 18 deletions setup.py

This file was deleted.