diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..87e463d --- /dev/null +++ b/.dockerignore @@ -0,0 +1,3 @@ +**/*.pyc +**/*.pyo +**/__pycache__ \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f4de4a8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/app/__pycache__/ diff --git a/Dockerfile b/Dockerfile index 80daeb6..0c8d5f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN apt-get update \ COPY ./app/requirements.txt . RUN pip3 install -r requirements.txt -COPY ./app/* . +COPY ./app /app EXPOSE 8501