0) Complete Docker build scriptes. 1) Refactor storage dir struct for release. 2) Add a common 'user_config' model. 3)More friendly CLI experience
This commit is contained in:
+7
-2
@@ -1,8 +1,13 @@
|
||||
FROM python:3.11
|
||||
WORKDIR /opt/aios
|
||||
COPY ./src /opt/aios
|
||||
COPY ./rootfs /var/aios
|
||||
RUN pip install --no-cache-dir -r /opt/opendan/requirements.txt
|
||||
COPY ./rootfs /opt/aios/app
|
||||
|
||||
RUN mkdir -p /root/myai/app
|
||||
RUN mkdir -p /root/myai/data
|
||||
RUN mkdir -p /root/myai/etc
|
||||
|
||||
RUN pip install --no-cache-dir -r /opt/aios/requirements.txt
|
||||
|
||||
ENV PYTHONDONTWRITEBYTECODE 1
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
|
||||
Reference in New Issue
Block a user