-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b17f5bd
commit 4ad4000
Showing
3 changed files
with
9 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,8 @@ | ||
FROM mcr.microsoft.com/dotnet/aspnet:7.0-alpine | ||
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine | ||
WORKDIR /app | ||
EXPOSE 80 | ||
|
||
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false | ||
|
||
RUN apk update && apk add --upgrade apk-tools && apk upgrade --available | ||
RUN apk add --no-cache icu-libs | ||
RUN apk add --no-cache tzdata | ||
|
||
RUN addgroup -S app -g 1000 \ | ||
&& adduser -S app -G app -u 1000 \ | ||
&& mkdir -p /app \ | ||
&& chown -R app:app /app | ||
EXPOSE 8080 | ||
|
||
WORKDIR /app | ||
COPY output . | ||
USER $APP_UID | ||
ENTRYPOINT dotnet NCafe.Admin.Api.dll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,8 @@ | ||
FROM mcr.microsoft.com/dotnet/aspnet:7.0-alpine | ||
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine | ||
WORKDIR /app | ||
EXPOSE 80 | ||
|
||
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false | ||
|
||
RUN apk update && apk add --upgrade apk-tools && apk upgrade --available | ||
RUN apk add --no-cache icu-libs | ||
RUN apk add --no-cache tzdata | ||
|
||
RUN addgroup -S app -g 1000 \ | ||
&& adduser -S app -G app -u 1000 \ | ||
&& mkdir -p /app \ | ||
&& chown -R app:app /app | ||
EXPOSE 8080 | ||
|
||
WORKDIR /app | ||
COPY output . | ||
USER $APP_UID | ||
ENTRYPOINT dotnet NCafe.Barista.Api.dll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,8 @@ | ||
FROM mcr.microsoft.com/dotnet/aspnet:7.0-alpine | ||
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine | ||
WORKDIR /app | ||
EXPOSE 80 | ||
|
||
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false | ||
|
||
RUN apk update && apk add --upgrade apk-tools && apk upgrade --available | ||
RUN apk add --no-cache icu-libs | ||
RUN apk add --no-cache tzdata | ||
|
||
RUN addgroup -S app -g 1000 \ | ||
&& adduser -S app -G app -u 1000 \ | ||
&& mkdir -p /app \ | ||
&& chown -R app:app /app | ||
EXPOSE 8080 | ||
|
||
WORKDIR /app | ||
COPY output . | ||
USER $APP_UID | ||
ENTRYPOINT dotnet NCafe.Cashier.Api.dll |