We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73282d1 commit 6eedd34Copy full SHA for 6eedd34
2 files changed
.github/workflows/docker-publish.yml
Dockerfile
@@ -1,24 +1,19 @@
1
FROM python:3.11
2
3
-WORKDIR /somef
4
-COPY . /somef
5
-# RUN git clone https://github.com/KnowledgeCaptureAndDiscovery/somef
+RUN git clone https://github.com/KnowledgeCaptureAndDiscovery/somef
6
7
RUN curl -sSL https://install.python-poetry.org | python3 -
8
9
-ENV PATH="/root/.local/bin:$PATH"
10
-
11
RUN pip install poetry-plugin-shell
12
13
-RUN poetry install
+WORKDIR "/somef"
14
15
-ENV PATH="/somef/.venv/bin:$PATH"
16
-RUN poetry config virtualenvs.in-project true && poetry install
+RUN poetry install
17
18
RUN poetry run somef configure -a
19
20
RUN echo 'source $(poetry env info --path)/bin/activate' >> ~/.bashrc
21
22
-CMD ["bash", "--login"]
23
+CMD ["bash", "--login"]
24
0 commit comments