modified: Dockerfile
This commit is contained in:
parent
f33b8e626b
commit
f7351432a6
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
FROM 10.0.1.123:5000/debian:12-slim AS build
|
FROM /debian:12-slim AS build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Separate layers here to avoid redoing dependencies on code change.
|
# Separate layers here to avoid redoing dependencies on code change.
|
||||||
|
@ -10,7 +10,7 @@ RUN dotnet restore
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN dotnet publish -r linux-musl-x64 -c Release -o out
|
RUN dotnet publish -r linux-musl-x64 -c Release -o out
|
||||||
|
|
||||||
FROM 10.0.1.123:5000/debian:12-slim AS runtime
|
FROM /debian:12-slim AS runtime
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=build /app/out .
|
COPY --from=build /app/out .
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue