Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -25,7 +25,7 @@ ARG INSTALL_CHANNEL=pytorch
|
|
25 |
# Automatically set by buildx
|
26 |
ARG TARGETPLATFORM
|
27 |
|
28 |
-
|
29 |
|
30 |
# Update basic dependencies we'll be using.
|
31 |
#RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
@@ -40,7 +40,9 @@ ARG TARGETPLATFORM
|
|
40 |
|
41 |
RUN git clone https://github.com/lee-ny/teaching_arithmetic.git /teaching_arithmetic
|
42 |
# && cd teaching_arithmetic && pip install -e .
|
43 |
-
|
|
|
|
|
44 |
# Install conda
|
45 |
# translating Docker's TARGETPLATFORM into mamba arches
|
46 |
#RUN case ${TARGETPLATFORM} in \
|
|
|
25 |
# Automatically set by buildx
|
26 |
ARG TARGETPLATFORM
|
27 |
|
28 |
+
USER root
|
29 |
|
30 |
# Update basic dependencies we'll be using.
|
31 |
#RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
|
|
40 |
|
41 |
RUN git clone https://github.com/lee-ny/teaching_arithmetic.git /teaching_arithmetic
|
42 |
# && cd teaching_arithmetic && pip install -e .
|
43 |
+
RUN chmod +x /teaching_arithmetic
|
44 |
+
USER 1000
|
45 |
+
RUN teaching_arithmetic && pip install -e .
|
46 |
# Install conda
|
47 |
# translating Docker's TARGETPLATFORM into mamba arches
|
48 |
#RUN case ${TARGETPLATFORM} in \
|