fixed some errors related to the build issue {trying method @1}
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
FROM python:3.10-slim
|
2 |
|
|
|
|
|
|
|
3 |
# "Handling Permission dennied Error"
|
4 |
RUN useradd user
|
5 |
USER user
|
@@ -11,8 +14,6 @@ ENV HOME=/home/user \
|
|
11 |
WORKDIR /app
|
12 |
COPY --chown=user ./ $HOME/app
|
13 |
|
14 |
-
# Install g++
|
15 |
-
RUN apt-get update && apt-get install -y g++
|
16 |
|
17 |
|
18 |
# For GPU support:
|
|
|
1 |
FROM python:3.10-slim
|
2 |
|
3 |
+
# Install g++
|
4 |
+
RUN apt-get update && apt-get install -y g++
|
5 |
+
|
6 |
# "Handling Permission dennied Error"
|
7 |
RUN useradd user
|
8 |
USER user
|
|
|
14 |
WORKDIR /app
|
15 |
COPY --chown=user ./ $HOME/app
|
16 |
|
|
|
|
|
17 |
|
18 |
|
19 |
# For GPU support:
|