remove comments
This commit is contained in:
parent
113f0c647b
commit
a8c5539f64
1 changed files with 0 additions and 4 deletions
|
|
@ -2,7 +2,6 @@ FROM mcr.microsoft.com/dotnet/sdk:9.0 AS backend-build
|
|||
|
||||
WORKDIR /app/backend
|
||||
|
||||
# Copy backend files
|
||||
COPY ./*.csproj ./
|
||||
RUN dotnet restore
|
||||
|
||||
|
|
@ -13,13 +12,10 @@ FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS runtime
|
|||
|
||||
WORKDIR /app
|
||||
|
||||
# Copy backend build output
|
||||
COPY --from=backend-build /app/backend/out ./backend
|
||||
|
||||
# Create a directory for the Kubernetes configuration file
|
||||
RUN mkdir -p /app/kube-config
|
||||
|
||||
# Set an environment variable to point to the Kubernetes config directory
|
||||
ENV KUBECONFIG=/app/kube-config/config
|
||||
ENV BACKEND=kubernetes
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue