correct location for readme and requirements

This commit is contained in:
Mylloon 2021-08-15 10:20:58 +02:00
parent 766acdcd9d
commit e089470db8

View file

@ -2,8 +2,6 @@ FROM python:3.8.11-slim
ENV DOCKER_KASSOUBOT=True ENV DOCKER_KASSOUBOT=True
WORKDIR /opt
COPY requirements.txt . COPY requirements.txt .
RUN apt update && \ RUN apt update && \
apt install git -y && \ apt install git -y && \
@ -11,6 +9,8 @@ RUN apt update && \
apt purge git -y apt purge git -y
COPY README.md . COPY README.md .
WORKDIR /opt
COPY src . COPY src .
CMD ["python", "-u", "./main.py"] CMD ["python", "-u", "./main.py"]