Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -14
Dockerfile
CHANGED
@@ -1,17 +1,4 @@
|
|
1 |
-
FROM qdrant/qdrant:
|
2 |
|
3 |
RUN useradd -m -u 1000 user
|
4 |
-
# Switch to the "user" user
|
5 |
-
USER user
|
6 |
|
7 |
-
# Set home to the user's home directory
|
8 |
-
ENV HOME=/home/user \
|
9 |
-
PATH=/home/user/.local/bin:$PATH
|
10 |
-
|
11 |
-
# Set the working directory to the user's home directory
|
12 |
-
WORKDIR $HOME/app
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
17 |
-
COPY --chown=user . $HOME/app
|
|
|
1 |
+
FROM qdrant/qdrant:dev
|
2 |
|
3 |
RUN useradd -m -u 1000 user
|
|
|
|
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|