updated plugins dir location

This commit is contained in:
2024-01-10 11:45:21 +01:00
parent 23414b6d8b
commit e028344b97
5 changed files with 9 additions and 9 deletions

View File

@@ -8,12 +8,14 @@ RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python
RUN python3 -m ensurepip
RUN pip3 install --no-cache --upgrade pip setuptools
ADD . /var/www/plugin-server
ADD ./plugin-server.py /var/www/plugin-server/plugin-server.py
ADD ./plugin-loader.js /var/www/plugin-server/plugin-loader.js
ADD ./requirements.txt /var/www/plugin-server/requirements.txt
WORKDIR /var/www/plugin-server/
RUN pip install -r requirements.txt
RUN ln -s /var/www/plugins ./plugins
RUN ln -s /var/www/plugins/ ./
CMD sh start.sh
CMD /usr/bin/redis-server & python plugin-server.py