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

[BUG] requirements.txt incorrectly referenced in catnip example #343

Closed
JESii opened this issue Jun 23, 2022 · 1 comment
Closed

[BUG] requirements.txt incorrectly referenced in catnip example #343

JESii opened this issue Jun 23, 2022 · 1 comment
Labels

Comments

@JESii
Copy link

JESii commented Jun 23, 2022

Describe the bug
When running the command docker build -t jseidel/catnip . get the error

executor failed running [/bin/sh -c pip install --no-cache-dir -r requirements.txt]: exit code: 1

To Reproduce
Steps to reproduce the behavior:

  1. Create the Dockerfile as instructed
  2. run the command docker build -t jseidel/catnip .
  3. See the error

Expected behavior
The build command should complete without error

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: mac 11.6.5
  • Docker Version 20.10.11, build dea9396

Additional context
The Dockerfile instructions are incorrect.
This line:
RUN pip install --no-cache-dir -r requirements.txt
should be:
RUN pip install --no-cache-dir -r flask-app/requirements.txt
to correctly reference the requirements.txt file

@JESii JESii added the bug label Jun 23, 2022
@JESii
Copy link
Author

JESii commented Jun 23, 2022

Drat... in the wrong directory so no bug.

@JESii JESii closed this as completed Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant