diff --git a/docker/Dockerfile.api b/Dockerfile.api similarity index 92% rename from docker/Dockerfile.api rename to Dockerfile.api index 7187143..c6fa6af 100644 --- a/docker/Dockerfile.api +++ b/Dockerfile.api @@ -5,13 +5,13 @@ FROM python:3.10-slim-buster WORKDIR /app # Copy requirements file from the host to the container -COPY ../requirements.txt ./ +COPY requirements.txt ./ # Install these requirements RUN pip install --no-cache-dir --prefer-binary -r requirements.txt # Copy the rest of the application files -COPY ../ . +COPY . . # Expose port EXPOSE 5000 diff --git a/docker/Dockerfile.flower b/Dockerfile.flower similarity index 93% rename from docker/Dockerfile.flower rename to Dockerfile.flower index 9ded2bd..dada7e6 100644 --- a/docker/Dockerfile.flower +++ b/Dockerfile.flower @@ -8,13 +8,13 @@ RUN apt-get update && apt-get install -y curl WORKDIR /app # Copy requirements file from the host to the container -COPY ../requirements.txt ./ +COPY requirements.txt ./ # Install these requirements RUN pip install --no-cache-dir -r requirements.txt # Copy the rest of the application files -COPY ../ . +COPY . . # Expose UI port EXPOSE 5566 diff --git a/docker/Dockerfile.worker b/Dockerfile.worker similarity index 91% rename from docker/Dockerfile.worker rename to Dockerfile.worker index cbefbf1..8e2d9c7 100644 --- a/docker/Dockerfile.worker +++ b/Dockerfile.worker @@ -8,19 +8,19 @@ RUN apt-get update && apt-get install -y curl WORKDIR /app # Copy the script that downloads the vader lexicon module -COPY ../scripts/download-ntk.py ./ +COPY scripts/download-ntk.py ./ # Execute that script RUN python download-ntk.py # Copy requirements file from the host to the container -COPY ../requirements.txt ./ +COPY requirements.txt ./ # Install these requirements RUN pip install --no-cache-dir -r requirements.txt # Copy the rest of the application files -COPY ../. . +COPY . . WORKDIR /app/src diff --git a/captain-definition/captain.api b/captain-definition/captain.api index 25520e7..4e5681f 100644 --- a/captain-definition/captain.api +++ b/captain-definition/captain.api @@ -1,4 +1,4 @@ { "schemaVersion": 2, - "dockerfilePath": "./../docker/Dockerfile.api" + "dockerfilePath": "./../Dockerfile.api" } \ No newline at end of file diff --git a/captain-definition/captain.flower b/captain-definition/captain.flower index d9aa571..0650d8a 100644 --- a/captain-definition/captain.flower +++ b/captain-definition/captain.flower @@ -1,4 +1,4 @@ { "schemaVersion": 2, - "dockerfilePath": "./../docker/Dockerfile.flower" + "dockerfilePath": "./../Dockerfile.flower" } \ No newline at end of file diff --git a/captain-definition/captain.worker b/captain-definition/captain.worker index 83cf5cb..8a58125 100644 --- a/captain-definition/captain.worker +++ b/captain-definition/captain.worker @@ -1,4 +1,4 @@ { "schemaVersion": 2, - "dockerfilePath": "./../docker/Dockerfile.worker" + "dockerfilePath": "./../Dockerfile.worker" } \ No newline at end of file