Update Dockerfile
Browse files- Dockerfile +5 -3
Dockerfile
CHANGED
|
@@ -2,6 +2,11 @@
|
|
| 2 |
|
| 3 |
FROM python:3.9
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
COPY --chown=user ./requirements.txt /app/requirements.txt
|
|
@@ -18,9 +23,6 @@ RUN git clone https://github.com/lee-ny/teaching_arithmetic.git /teaching_arithm
|
|
| 18 |
|
| 19 |
RUN chmod 777 /app/train.sh
|
| 20 |
|
| 21 |
-
|
| 22 |
-
RUN useradd -m -u 1000 user
|
| 23 |
-
|
| 24 |
USER user
|
| 25 |
|
| 26 |
ENV PATH="/home/user/.local/bin:/opt/conda/bin:$PATH"
|
|
|
|
| 2 |
|
| 3 |
FROM python:3.9
|
| 4 |
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
RUN useradd -m -u 1000 user
|
| 8 |
+
|
| 9 |
+
|
| 10 |
WORKDIR /app
|
| 11 |
|
| 12 |
COPY --chown=user ./requirements.txt /app/requirements.txt
|
|
|
|
| 23 |
|
| 24 |
RUN chmod 777 /app/train.sh
|
| 25 |
|
|
|
|
|
|
|
|
|
|
| 26 |
USER user
|
| 27 |
|
| 28 |
ENV PATH="/home/user/.local/bin:/opt/conda/bin:$PATH"
|