Spaces:
Runtime error
Runtime error
AroojImtiaz
commited on
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -12,9 +12,9 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
|
|
12 |
# Set working directory inside the container
|
13 |
WORKDIR /app
|
14 |
|
15 |
-
# Install TensorFlow
|
16 |
# Using a single RUN command to reduce layers
|
17 |
-
RUN pip install tensorflow==2.16.1 keras
|
18 |
|
19 |
# Create a non-privileged user to run the application
|
20 |
# Follow best practices from Docker's user handling
|
|
|
12 |
# Set working directory inside the container
|
13 |
WORKDIR /app
|
14 |
|
15 |
+
# Install TensorFlow, Keras, and tf-keras
|
16 |
# Using a single RUN command to reduce layers
|
17 |
+
RUN pip install tensorflow==2.16.1 keras tf-keras
|
18 |
|
19 |
# Create a non-privileged user to run the application
|
20 |
# Follow best practices from Docker's user handling
|