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

Dockerfile cannot find requirements in /app/ directory #46

Closed
mfisher29 opened this issue Oct 20, 2022 · 1 comment
Closed

Dockerfile cannot find requirements in /app/ directory #46

mfisher29 opened this issue Oct 20, 2022 · 1 comment

Comments

@mfisher29
Copy link

Received this error:

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

So proposing this Dockerfile update:

FROM python:3.8

ENV PYTHONUNBUFFERED 1
ENV PYTHONDONTWRITEBYTECODE 1

WORKDIR /app/

COPY . /app/
RUN pip install --upgrade pip && pip install --no-cache-dir -r /app/requirements/dev.txt

EXPOSE 8000
@akornor
Copy link
Owner

akornor commented Oct 20, 2022

Good catch! Fixed in this commit: ded094e

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

No branches or pull requests

2 participants