Spaces:
Sleeping
Sleeping
Commit ·
615022a
1
Parent(s): 9253c77
rm COPY --chown=user . /app
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -16,9 +16,12 @@ COPY --chown=user ./requirements.txt requirements.txt
|
|
| 16 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 17 |
# Copy the rest of the application code from the host to the container
|
| 18 |
# Again, ensure the copied files are owned by 'user'
|
| 19 |
-
COPY --chown=user . /app
|
| 20 |
|
| 21 |
# Make sure that you are copying the entire app directory into the container
|
|
|
|
|
|
|
|
|
|
| 22 |
COPY --chown=user ./app /app
|
| 23 |
|
| 24 |
|
|
|
|
| 16 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 17 |
# Copy the rest of the application code from the host to the container
|
| 18 |
# Again, ensure the copied files are owned by 'user'
|
| 19 |
+
# COPY --chown=user . /app
|
| 20 |
|
| 21 |
# Make sure that you are copying the entire app directory into the container
|
| 22 |
+
# './app' specifies the source directory on your host machine.
|
| 23 |
+
# '/app' specifies the destination directory in the container.
|
| 24 |
+
# After the command executes, all files from ./app on your host will be placed in /app inside the container.
|
| 25 |
COPY --chown=user ./app /app
|
| 26 |
|
| 27 |
|