Skip to content

Commit

Permalink
Update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
erikh360 committed Nov 25, 2024
1 parent bd9e815 commit 4206c3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ COPY src src/

EXPOSE 5000

CMD ["gunicorn", "application:app", "-b", "0.0.0.0:5000", "-w", "4"]
WORKDIR /src

CMD ["/.venv/bin/gunicorn", "application:app", "-b", "0.0.0.0:5000", "-w", "4"]
2 changes: 1 addition & 1 deletion src/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
version = importlib.metadata.version("mc-intent-classifier")


DATA_PATH = Path("src/data")
DATA_PATH = Path("/src/data")
OUTPUT_FILE_PATH = DATA_PATH / "new_test_intent_embeddings.json"

app = Flask(__name__)
Expand Down

0 comments on commit 4206c3f

Please sign in to comment.