diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..89e22b5 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,9 @@ +# common ignores +Dockerfile +.drone.yml +.git* + +# repo +README.md +Features.md +venv \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index fdd3b1e..7acaac8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ FROM python:3.9-alpine -ADD . /app/ +COPY . /app/ WORKDIR /app RUN pip install -r requirements.txt -USER 1000 +USER 1000:1000 CMD ["python", "main.py"] \ No newline at end of file