Skip to content

Commit

Permalink
fixing docker
Browse files Browse the repository at this point in the history
  • Loading branch information
ml054 committed Dec 19, 2023
1 parent 5b19a44 commit 4306dee
Showing 1 changed file with 3 additions and 3 deletions.
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 4306dee

Please sign in to comment.