Add drone #1

Closed
kjuulh wants to merge 110 commits from main into production
6 changed files with 720 additions and 880 deletions
Showing only changes of commit 930144c6a9 - Show all commits

View File

@ -3,7 +3,7 @@ WORKDIR /app
EXPOSE 80
EXPOSE 443
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
WORKDIR /src
COPY *.sln .

View File

@ -14,8 +14,8 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Mediatr" Version="9.0.0" />
<PackageReference Include="Mediatr.Extensions.Microsoft.DependencyInjection" Version="9.0.0" />
<PackageReference Include="Mediatr" Version="11.0.0" />
<PackageReference Include="Mediatr.Extensions.Microsoft.DependencyInjection" Version="11.0.0" />
</ItemGroup>
</Project>

View File

@ -10,9 +10,9 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="MongoDB.Driver" Version="2.13.2"/>
<PackageReference Include="MongoDB.Driver.Core" Version="2.13.2"/>
<PackageReference Include="AspNetCore.HealthChecks.MongoDb" Version="5.0.1"/>
<PackageReference Include="MongoDB.Driver" Version="2.18.0"/>
<PackageReference Include="MongoDB.Driver.Core" Version="2.18.0"/>
<PackageReference Include="AspNetCore.HealthChecks.MongoDb" Version="6.0.2"/>
</ItemGroup>
<ItemGroup>

View File

@ -1,5 +1,5 @@
# Install dependencies only when needed
FROM node:14-alpine AS deps
FROM node:19-alpine AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
WORKDIR /app
@ -7,7 +7,7 @@ COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile
# Rebuild the source code only when needed
FROM node:14-alpine AS builder
FROM node:19-alpine AS builder
WORKDIR /app
ARG NEXT_PUBLIC_SERVER_URL="http://localhost:5000"
@ -17,7 +17,7 @@ COPY --from=deps /app/node_modules ./node_modules
RUN yarn build
# Production image, copy all the files and run next
FROM node:14-alpine AS runner
FROM node:19-alpine AS runner
WORKDIR /app
ENV NODE_ENV production

View File

@ -9,27 +9,27 @@
},
"dependencies": {
"@microsoft/signalr": "6.0.10",
"@reduxjs/toolkit": "1.6.2",
"@reduxjs/toolkit": "1.8.6",
"@tippyjs/react": "4.2.6",
"axios": "0.24.0",
"axios": "1.1.3",
"next": "12.2.5",
"next-pwa": "5.6.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-redux": "7.2.6",
"react-textarea-autosize": "8.3.3",
"tailwindcss": "2.2.19"
"react-redux": "8.0.4",
"react-textarea-autosize": "8.3.4",
"tailwindcss": "3.2.1"
},
"devDependencies": {
"@types/react": "17.0.34",
"@types/react-redux": "7.1.20",
"autoprefixer": "10.4.0",
"cssnano": "5.0.10",
"eslint": "7.32.0",
"@types/react": "18.0.23",
"@types/react-redux": "7.1.24",
"autoprefixer": "10.4.12",
"cssnano": "5.1.13",
"eslint": "8.26.0",
"eslint-config-next": "12.0.3",
"postcss": "8.3.11",
"postcss-import": "14.0.2",
"prettier": "2.5.1",
"typescript": "4.4.4"
"postcss": "8.4.18",
"postcss-import": "15.0.0",
"prettier": "2.7.1",
"typescript": "4.8.4"
}
}

File diff suppressed because it is too large Load Diff