Manager / Dockerfile
Yakova's picture
Update Dockerfile
9e36eab verified
raw
history blame contribute delete
326 Bytes
FROM mbonea1234/manager:latest
# Create a non-root user
RUN useradd -ms /bin/bash admin
# Set the working directory
WORKDIR /srv
RUN pip install lxml[html_clean]
RUN chown -R admin:admin /srv
RUN chmod 755 /srv
USER admin
EXPOSE 7860
CMD python -m src & python -m http.server 7860 --directory /src/Search_bot_plugins/Assets