From 505e7521d45e50c6831db30819aebf804ddb2c2c Mon Sep 17 00:00:00 2001 From: Daoud Clarke Date: Fri, 17 Jun 2022 23:29:04 +0100 Subject: [PATCH] Copy the resources --- Dockerfile | 1 + mwmbl/main.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3ebe54a..1176200 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,7 @@ RUN python -m venv /venv # Copy only the necessary files to build/install the python package COPY pyproject.toml poetry.lock /app/ COPY mwmbl /app/mwmbl +COPY resources /app/resources # Working directory is /app # Use pip to install the mwmbl python package diff --git a/mwmbl/main.py b/mwmbl/main.py index 3b46cb0..4459051 100644 --- a/mwmbl/main.py +++ b/mwmbl/main.py @@ -1,6 +1,5 @@ import argparse import logging -from pathlib import Path import pandas as pd import uvicorn