Skip to content

Commit 1d160a5

Browse files
authored
Merge pull request #66 from ml054/master
fixing docker
2 parents fb0255e + 8b018ce commit 1d160a5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
## Technologies
1313
* ASP.NET Core 8
1414
* RavenDB 6.0.1
15-
* Angular 12
15+
* Angular 14
1616

1717
It has minimum third-party dependencies and heaps of best practices.
1818

devops/Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ RUN dotnet restore back-end/WebApi/WebApi.csproj \
88
&& dotnet publish -c Release -o /publish back-end/WebApi/WebApi.csproj \
99
&& cp devops/run.sh /publish/run.sh
1010

11-
FROM mhart/alpine-node:14 as front-end-build
11+
FROM node:lts-alpine3.18 as front-end-build
1212

1313
WORKDIR /client
1414
COPY ./front-end /client
15-
RUN npm install \
16-
&& node_modules/.bin/ng build --prod
15+
RUN npm install --legacy-peer-deps \
16+
&& node_modules/.bin/ng build --configuration production
1717

1818
# See the list of tags at https://mcr.microsoft.com/v2/dotnet/aspnet/tags/list
1919
FROM mcr.microsoft.com/dotnet/aspnet:8.0.0 AS runtime

0 commit comments

Comments
 (0)