Arpit-Bansal
commited on
Commit
•
c6d4f9d
1
Parent(s):
6f09355
editing Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -2,8 +2,8 @@ FROM python:3.10
|
|
2 |
RUN useradd -m -u 1000 user
|
3 |
USER user
|
4 |
WORKDIR /code
|
5 |
-
COPY ./requirements.txt ./
|
6 |
RUN chown -R user:user /code
|
|
|
7 |
RUN pip install --no-cache-dir -r ./requirements.txt
|
8 |
COPY --chown=user:user . /code
|
9 |
# COPY . .
|
|
|
2 |
RUN useradd -m -u 1000 user
|
3 |
USER user
|
4 |
WORKDIR /code
|
|
|
5 |
RUN chown -R user:user /code
|
6 |
+
COPY ./requirements.txt ./
|
7 |
RUN pip install --no-cache-dir -r ./requirements.txt
|
8 |
COPY --chown=user:user . /code
|
9 |
# COPY . .
|