first push
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM python:3.11-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt requirements.txt
|
||||
RUN /usr/local/bin/python -m pip install --upgrade pip
|
||||
RUN pip3 install -r requirements.txt
|
||||
RUN rm requirements.txt
|
||||
|
||||
COPY ./src/ .
|
||||
|
||||
RUN mkdir ./data
|
||||
RUN mkdir ./data/log
|
||||
RUN mkdir ./data/config
|
||||
|
||||
CMD [ "python3", "main.py" ]
|
||||
Reference in New Issue
Block a user