@abgov/nx-oc 12.14.0 → 12.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
FROM registry.access.redhat.com/ubi8/dotnet-80 AS build
|
|
2
|
+
ARG PROJECT
|
|
3
|
+
WORKDIR /src
|
|
4
|
+
COPY . .
|
|
5
|
+
RUN dotnet publish ${PROJECT} -c Release -o /app/publish
|
|
6
|
+
|
|
7
|
+
FROM registry.access.redhat.com/ubi8/dotnet-80-runtime
|
|
8
|
+
WORKDIR /app
|
|
9
|
+
COPY --from=build /app/publish .
|
|
10
|
+
ENV ASPNETCORE_URLS=http://+:5000
|
|
11
|
+
EXPOSE 5000
|
|
12
|
+
CMD ["dotnet", "<%= projectName %>.dll"]
|