Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -31,6 +31,9 @@ RUN mkdir -p /app/uploads /home/appuser/.dotnet && \
|
|
31 |
ENV DOTNET_HOME="/home/appuser/.dotnet"
|
32 |
ENV PATH="${PATH}:${DOTNET_HOME}"
|
33 |
|
|
|
|
|
|
|
34 |
# Copy the requirements file with the correct owner
|
35 |
COPY --chown=appuser:appuser ./requirements.txt /app/requirements.txt
|
36 |
|
|
|
31 |
ENV DOTNET_HOME="/home/appuser/.dotnet"
|
32 |
ENV PATH="${PATH}:${DOTNET_HOME}"
|
33 |
|
34 |
+
# Add the .NET SDK tools directory to PATH
|
35 |
+
ENV PATH="${PATH}:/usr/share/dotnet"
|
36 |
+
|
37 |
# Copy the requirements file with the correct owner
|
38 |
COPY --chown=appuser:appuser ./requirements.txt /app/requirements.txt
|
39 |
|