sigyllly commited on
Commit
921cd97
·
verified ·
1 Parent(s): 7320811

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -1
Dockerfile CHANGED
@@ -29,7 +29,13 @@ RUN mkdir -p /app/uploads /home/appuser/.dotnet && \
29
 
30
  # Set the DOTNET_HOME environment variable
31
  ENV DOTNET_HOME="/home/appuser/.dotnet"
32
- ENV PATH="${PATH}:${DOTNET_HOME}:/usr/share/dotnet"
 
 
 
 
 
 
33
 
34
  # Copy the requirements file with the correct owner
35
  COPY --chown=appuser:appuser ./requirements.txt /app/requirements.txt
 
29
 
30
  # Set the DOTNET_HOME environment variable
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
+ # Ensure csc is in the PATH
38
+ RUN echo $PATH
39
 
40
  # Copy the requirements file with the correct owner
41
  COPY --chown=appuser:appuser ./requirements.txt /app/requirements.txt