Skip to content

Commit

Permalink
Merge pull request #66 from ml054/master
Browse files Browse the repository at this point in the history
fixing docker
  • Loading branch information
ppekrol authored Dec 19, 2023
2 parents fb0255e + 8b018ce commit 1d160a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
## Technologies
* ASP.NET Core 8
* RavenDB 6.0.1
* Angular 12
* Angular 14

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

Expand Down
6 changes: 3 additions & 3 deletions devops/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ RUN dotnet restore back-end/WebApi/WebApi.csproj \
&& dotnet publish -c Release -o /publish back-end/WebApi/WebApi.csproj \
&& cp devops/run.sh /publish/run.sh

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

WORKDIR /client
COPY ./front-end /client
RUN npm install \
&& node_modules/.bin/ng build --prod
RUN npm install --legacy-peer-deps \
&& node_modules/.bin/ng build --configuration production

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

0 comments on commit 1d160a5

Please sign in to comment.