Skip to content

Commit

Permalink
Revert "Update Dockerfile"
Browse files Browse the repository at this point in the history
This reverts commit 76b3c2c.
  • Loading branch information
RichardFreedman committed Feb 13, 2025
1 parent 32e6fa9 commit a61dd85
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM python:3.11.5-slim AS builder
FROM python:3.11.5-slim as builder

# Install Poetry and git
FROM python:3.11.5-slim as builder

# Install Poetry and dependencies
RUN apt-get update && apt-get install -y \
curl \
git \
&& curl -sSL https://install.python-poetry.org | python3 - \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
Expand All @@ -23,11 +24,14 @@ RUN git ls-remote https://github.com/HCDigitalScholarship/intervals.git
RUN poetry add git+https://github.com/HCDigitalScholarship/intervals.git@intervals_4_streamlit \
--source git+https://github.com/HCDigitalScholarship/intervals.git@intervals_4_streamlit

# Verify installation
RUN poetry show crim-intervals

# Install remaining dependencies
RUN poetry install --no-interaction --no-ansi

# Final stage
FROM python:3.11.5-slim AS final
FROM python:3.11.5-slim

WORKDIR /app
COPY --from=builder /root/.local /root/.local
Expand Down

0 comments on commit a61dd85

Please sign in to comment.