Update Dockerfile
Browse files- Dockerfile +2 -4
Dockerfile
CHANGED
|
@@ -32,6 +32,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
|
|
| 32 |
git && \
|
| 33 |
rm -rf /var/lib/apt/lists/*
|
| 34 |
|
|
|
|
| 35 |
# Install conda
|
| 36 |
# translating Docker's TARGETPLATFORM into mamba arches
|
| 37 |
RUN case ${TARGETPLATFORM} in \
|
|
@@ -57,11 +58,8 @@ USER 1000
|
|
| 57 |
COPY --chown=user ./requirements.txt requirements.txt
|
| 58 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 59 |
|
| 60 |
-
RUN git clone https://github.com/lee-ny/teaching_arithmetic.git /teaching arithmetic && cd teaching_arithmetic
|
| 61 |
#COPY --chown=user teaching_arithmetic /teaching_arithmetic
|
| 62 |
-
|
| 63 |
-
# && cd teaching_arithmetic &&
|
| 64 |
-
RUN pip install -e .
|
| 65 |
|
| 66 |
|
| 67 |
COPY --chown=user . /app
|
|
|
|
| 32 |
git && \
|
| 33 |
rm -rf /var/lib/apt/lists/*
|
| 34 |
|
| 35 |
+
RUN git clone https://github.com/lee-ny/teaching_arithmetic.git /teaching_arithmetic
|
| 36 |
# Install conda
|
| 37 |
# translating Docker's TARGETPLATFORM into mamba arches
|
| 38 |
RUN case ${TARGETPLATFORM} in \
|
|
|
|
| 58 |
COPY --chown=user ./requirements.txt requirements.txt
|
| 59 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 60 |
|
|
|
|
| 61 |
#COPY --chown=user teaching_arithmetic /teaching_arithmetic
|
| 62 |
+
RUN cd teaching_arithmetic && pip install -e .
|
|
|
|
|
|
|
| 63 |
|
| 64 |
|
| 65 |
COPY --chown=user . /app
|