Skip to content

Commit c480ba3

Browse files
committed
fix: poetry installation in Dockerfile fixed
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
1 parent 28d5b43 commit c480ba3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ ENV DEBIAN_FRONTEND noninteractive
77
RUN apt-get update && \
88
apt-get install -y curl && \
99
apt-get -y clean && \
10+
apt-get install -y pipx build-essential git vim && \
1011
rm -rf /var/lib/apt/lists/*
1112

1213
# Download and install FRP client into /usr/local/bin.
@@ -26,13 +27,13 @@ RUN set -ex; \
2627
rm -rf /tmp/frp /tmp/frp.tar.gz
2728

2829

29-
RUN apt install -y pipx build-essential git vim
3030
RUN pipx install poetry
3131

3232
# Install requirements
3333

3434
COPY pyproject.toml .
3535
COPY poetry.lock .
36+
ENV PATH="/root/.local/bin:${PATH}"
3637
RUN poetry install
3738

3839
ADD /ex_app/cs[s] /ex_app/css

0 commit comments

Comments
 (0)