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

fixing #272 #276

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
14 changes: 11 additions & 3 deletions build.dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
FROM python:3.11.0-slim
RUN apt-get update && apt-get install -y \
build-essential \
git \
python-dev \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /data/Resume-Matcher
COPY . .
RUN apt-get update
RUN apt-get install -y build-essential python-dev git
RUN pip install -U pip setuptools wheel
COPY requirements.txt ./
RUN pip install -r requirements.txt
COPY . .
# debug
RUN pwd && sleep 3
RUN ls -alh Data/Resumes && sleep 5

RUN python run_first.py
ENTRYPOINT [ "streamlit", "run", "streamlit_app.py"]

Expand Down
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ services:
dockerfile : build.dockerfile
ports:
- 80:8501

volumes:
- ./Data/Resumes:/data/Resume-Matcher/Data/Resumes
- ./Data/Processed:/data/Resume-Matcher/Data/Processed