Merge pull request #40 from cooperlees/fix_docker

Fix COPY of cogs + models source code into build Docker container
Kaveen Kumarasinghe 2 years ago committed by GitHub
commit 099929ad72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,10 +11,12 @@ RUN pip install --target="/install" --upgrade pip setuptools wheel
COPY requirements.txt /install
RUN pip install --target="/install" -r requirements.txt
COPY README.md /src
COPY cogs /src
COPY models /src
COPY cogs /src/cogs
COPY models /src/models
COPY gpt3discord.py /src
COPY pyproject.toml /src
# For debugging + seeing that the modiles file layouts look correct ...
find /src
RUN pip install --target="/install" /src
# Copy minimal to main image (to keep as small as possible)

Loading…
Cancel
Save