Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -11,6 +11,7 @@ WORKDIR /app
|
|
11 |
|
12 |
COPY --chown=user ./requirements.txt /app/requirements.txt
|
13 |
COPY --chown=user ./train.sh /app/train.sh
|
|
|
14 |
|
15 |
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
16 |
RUN git clone https://github.com/lee-ny/teaching_arithmetic.git /teaching_arithmetic
|
@@ -21,7 +22,6 @@ RUN git clone https://github.com/lee-ny/teaching_arithmetic.git /teaching_arithm
|
|
21 |
|
22 |
#COPY --chown=user . /app
|
23 |
|
24 |
-
RUN chmod 777 /app/train.sh
|
25 |
|
26 |
USER user
|
27 |
|
|
|
11 |
|
12 |
COPY --chown=user ./requirements.txt /app/requirements.txt
|
13 |
COPY --chown=user ./train.sh /app/train.sh
|
14 |
+
RUN chmod +x /app/train.sh
|
15 |
|
16 |
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
17 |
RUN git clone https://github.com/lee-ny/teaching_arithmetic.git /teaching_arithmetic
|
|
|
22 |
|
23 |
#COPY --chown=user . /app
|
24 |
|
|
|
25 |
|
26 |
USER user
|
27 |
|