Verified Commit 380d425b authored by Jakob Moser's avatar Jakob Moser
Browse files

Fix Dockerfile

parent 2719390f
Loading
Loading
Loading
Loading
Loading
+3 −9
Original line number Diff line number Diff line
@@ -10,13 +10,7 @@ RUN apt-get update \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/*

# First, copy and install only the requirements...
COPY pyproject.toml .
COPY uv.lock .
RUN uv sync --locked
# Install productive Coliverter
RUN uv tool install git+https://gitlab.cl.uni-heidelberg.de/fachschaft/coliverter.git

# ... then the rest of the application. This allows the installation stage to be cached most of the time
# (so we don't have reinstall of all dependencies every time the container is rebuilt)
COPY . .

ENTRYPOINT ["uv", "run", "coliverter"]
ENTRYPOINT ["/root/.local/bin/coliverter"]