From 8683ded66c635cd436f30e85a06ea07d608a272d Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Wed, 22 Mar 2023 02:49:20 +0800 Subject: [PATCH] Update Dockerfile --- .dockerignore | 4 ++++ Dockerfile | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..8a66279 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,4 @@ +testdata + +**/.git +**/__pycache__ diff --git a/Dockerfile b/Dockerfile index a4ba7a2..8e71a6f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,5 +13,4 @@ RUN poetry export --without-hashes -o requirements.txt RUN pip install --no-cache-dir -r requirements.txt -COPY ./preprocess preprocess -COPY ./server server +COPY . .