Skip to content

Commit

Permalink
fix(dockerfile): some unnecessary file and text deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
aliyaghini committed Sep 9, 2024
1 parent 6724f34 commit 78a6103
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 45 deletions.
24 changes: 0 additions & 24 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,27 +1,3 @@
# FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
# WORKDIR /app

# COPY ./AnalysisData/ ./
# RUN dotnet restore
# COPY . .

# RUN dotnet publish ./AnalysisData/AnalysisData/AnalysisData.csproj -c Release -o out

# #FROM mcr.microsoft.com/dotnet/sdk:8.0 AS runtime
# #WORKDIR /app
# #COPY --from=build /app/out ./
# RUN dotnet tool install --global dotnet-ef --version 8.0
# ENV PATH="${PATH}:/root/.dotnet/tools"

# ENV ASPNETCORE_ENVIRONMENT=Development

# ENV ASPNETCORE_URLS=http://*:80
# EXPOSE 80

# #COPY . ./app

# ENTRYPOINT ["dotnet", "./out/AnalysisData.dll"]

FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build

WORKDIR /app
Expand Down
19 changes: 0 additions & 19 deletions Dockerfile2

This file was deleted.

2 changes: 0 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ services:


migrate:
#image: migrateimage
image: yaghooli/dotnetdev:latest
command: ["./migrateout"]
depends_on:
Expand All @@ -30,7 +29,6 @@ services:

web:
image: yaghooli/dotnetdev:latest
#build: .
depends_on:
migrate:
condition: service_completed_successfully
Expand Down

0 comments on commit 78a6103

Please sign in to comment.