Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -6,7 +6,6 @@ WORKDIR /app
|
|
6 |
|
7 |
COPY --chown=user ./requirements.txt /app/requirements.txt
|
8 |
COPY --chown=user ./train.sh /app/train.sh
|
9 |
-
RUN chmod +x /app/train.sh
|
10 |
|
11 |
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
12 |
RUN git clone https://github.com/lee-ny/teaching_arithmetic.git /teaching_arithmetic
|
@@ -20,6 +19,7 @@ RUN git clone https://github.com/lee-ny/teaching_arithmetic.git /teaching_arithm
|
|
20 |
RUN useradd -m -u 1000 user
|
21 |
|
22 |
USER user
|
|
|
23 |
|
24 |
ENV PATH="/home/user/.local/bin:/opt/conda/bin:$PATH"
|
25 |
ENV HOME="/home/user"
|
|
|
6 |
|
7 |
COPY --chown=user ./requirements.txt /app/requirements.txt
|
8 |
COPY --chown=user ./train.sh /app/train.sh
|
|
|
9 |
|
10 |
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
11 |
RUN git clone https://github.com/lee-ny/teaching_arithmetic.git /teaching_arithmetic
|
|
|
19 |
RUN useradd -m -u 1000 user
|
20 |
|
21 |
USER user
|
22 |
+
RUN chmod +x /app/train.sh
|
23 |
|
24 |
ENV PATH="/home/user/.local/bin:/opt/conda/bin:$PATH"
|
25 |
ENV HOME="/home/user"
|