Skip to content

Commit

Permalink
Docker fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Galloway committed Oct 1, 2024
1 parent 1c17a8e commit 1113320
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Mostlylucid.SchedulerService/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
USER $APP_UID
WORKDIR /app
EXPOSE 8080
EXPOSE 8081
Expand All @@ -15,8 +14,7 @@ COPY ["Mostlylucid.Services/Mostlylucid.Services.csproj", "Mostlylucid.Services/
RUN dotnet restore "Mostlylucid.SchedulerService/Mostlylucid.SchedulerService.csproj"

# Copy the entire source code to the container
COPY ./Mostlylucid/ ./Mostlylucid/
COPY ./Mostlylucid.Test/ ./Mostlylucid.Test/
COPY ./Mostlylucid.SchedulerService/ ./Mostlylucid.SchedulerService/
COPY ./Mostlylucid.Shared/ ./Mostlylucid.Shared/
COPY ./Mostlylucid.Services/ ./Mostlylucid.Services/
COPY ./Mostlylucid.DbContext/ ./Mostlylucid.DbContext/
Expand Down

0 comments on commit 1113320

Please sign in to comment.