Skip to content

Commit 759329d

Browse files
committed
Update Dockerfile
1 parent 5743341 commit 759329d

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

Dockerfile

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,23 @@ RUN echo "GITVERSION: "$GITVERSION
2121
RUN echo "GITSHA: "$GITSHA
2222
RUN echo "GITDATE: "$GITDATE
2323

24-
# Switch to root
25-
USER root
26-
2724
# Installing precomputed python packages
2825
RUN uv pip install pillow
2926

30-
# Install PICAchooser
27+
# copy PICAchooser into container
3128
COPY . /src/picachooser
3229
RUN echo $GITVERSION > /src/picachooser/VERSION
30+
31+
# init and install picachooser
32+
RUN uv pip install --upgrade pip
3333
RUN cd /src/picachooser && \
3434
uv pip install . && \
35-
rm -rf /src/picachooser/build /src/picachooser/dist
35+
RUN chmod -R a+r /src/picachooser
36+
37+
# install versioneer
38+
RUN cd /src/rapidtide && \
39+
versioneer install --no-vendor && \
40+
rm -rf /src/rapidtide/build /src/picachooser/dist
3641

3742
# clean up
3843
RUN pip cache purge

0 commit comments

Comments
 (0)