Fixed packaging of static files
This commit is contained in:
+5
-5
@@ -1,12 +1,12 @@
|
||||
FROM recoll
|
||||
|
||||
RUN apt-get install breeze-icon-theme
|
||||
RUN apt-get -y install breeze-icon-theme python3-venv
|
||||
|
||||
COPY . /opt/squirrel
|
||||
WORKDIR /opt/squirrel
|
||||
COPY dist/squirrel-0.3.0-py3-none-any.whl squirrel-0.3.0-py3-none-any.whl
|
||||
|
||||
RUN pip install --break-system-packages -e .
|
||||
RUN python3 -m venv --system-site-packages /opt/squirrel
|
||||
RUN /opt/squirrel/bin/pip install squirrel-0.3.0-py3-none-any.whl
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
ENTRYPOINT ["/bin/bash"]
|
||||
ENTRYPOINT ["/opt/squirrel/bin/squirrel"]
|
||||
|
||||
Reference in New Issue
Block a user