diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..4acd06b --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +config.py diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3a932fe --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM python:alpine + +WORKDIR /usr/src/app + +COPY requirements.txt ./ +RUN apk add --no-cache gcc musl-dev python3-dev libffi-dev openssl-dev cargo && pip install --no-cache-dir -r requirements.txt && apk del gcc musl-dev python3-dev libffi-dev openssl-dev cargo + +COPY . . + +CMD [ "python", "./Robocop.py" ] \ No newline at end of file