@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/nx-oc",
3
- "version": "12.14.0",
3
+ "version": "12.14.1",
4
4
  "license": "Apache-2.0",
5
5
  "main": "src/index.js",
6
6
  "description": "Government of Alberta - Nx plugin for OpenShift.",
@@ -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"]
@@ -0,0 +1,7 @@
1
+ FROM registry.access.redhat.com/ubi9/nginx-120
2
+
3
+ # Build output path mirrors the workspace layout (from the project's build target).
4
+ COPY ./<%= buildOutputPath %>/nginx.conf "${NGINX_CONF_PATH}"
5
+ COPY ./<%= buildOutputPath %> .
6
+
7
+ CMD nginx -g "daemon off;"
@@ -0,0 +1,7 @@
1
+ FROM registry.access.redhat.com/ubi9/nodejs-24
2
+
3
+ # Build output path mirrors the workspace layout (from the project's build target).
4
+ COPY ./<%= buildOutputPath %> .
5
+ COPY ./node_modules ./node_modules
6
+
7
+ CMD node main.js