Skip to content

Commit 62c948e

Browse files
committed
Revert "use node:16, not ubuntu+npm+node"
This reverts commit f7c37c4.
1 parent 6535a1e commit 62c948e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
FROM node:16 as nodebuilder
1+
FROM ubuntu:rolling as nodebuilder
22
ENV DEBIAN_FRONTEND=noninteractive
3+
RUN apt-get -y update
4+
RUN apt-get -y install nodejs npm
35
WORKDIR /js
46
COPY fluidsignalr/ClientApp/package*.json /js/
57
RUN npm ci
@@ -21,7 +23,7 @@ WORKDIR /app/fluidsignalr
2123

2224
# Copy the js dist from the nodebuilder stage; the csproj has a target to copy it over to the out dir
2325
COPY --from=nodebuilder /js/dist /app/fluidsignalr/ClientApp/dist
24-
RUN dotnet publish -c Release -o out
26+
RUN dotnet publish -c Release -o out
2527

2628
###
2729
### Final runtime image

0 commit comments

Comments
 (0)