Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -53,14 +53,13 @@ RUN case ${TARGETPLATFORM} in \
|
|
| 53 |
esac && \
|
| 54 |
/opt/conda/bin/conda clean -ya
|
| 55 |
|
| 56 |
-
USER 1000
|
| 57 |
-
|
| 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
|
| 66 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 53 |
esac && \
|
| 54 |
/opt/conda/bin/conda clean -ya
|
| 55 |
|
|
|
|
|
|
|
| 56 |
COPY --chown=user ./requirements.txt requirements.txt
|
| 57 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 58 |
|
| 59 |
#COPY --chown=user teaching_arithmetic /teaching_arithmetic
|
| 60 |
RUN cd teaching_arithmetic && pip install -e .
|
| 61 |
+
COPY --chown=user . /app
|
| 62 |
|
| 63 |
+
USER 1000
|
| 64 |
|
|
|
|
| 65 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|