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 80
EXPOSE 443 EXPOSE 443
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
WORKDIR /src WORKDIR /src
COPY *.sln . COPY *.sln .

View File

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

View File

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

View File

@ -1,5 +1,5 @@
# Install dependencies only when needed # 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. # 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 RUN apk add --no-cache libc6-compat
WORKDIR /app WORKDIR /app
@ -7,7 +7,7 @@ COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile RUN yarn install --frozen-lockfile
# Rebuild the source code only when needed # Rebuild the source code only when needed
FROM node:14-alpine AS builder FROM node:19-alpine AS builder
WORKDIR /app WORKDIR /app
ARG NEXT_PUBLIC_SERVER_URL="http://localhost:5000" ARG NEXT_PUBLIC_SERVER_URL="http://localhost:5000"
@ -17,7 +17,7 @@ COPY --from=deps /app/node_modules ./node_modules
RUN yarn build RUN yarn build
# Production image, copy all the files and run next # Production image, copy all the files and run next
FROM node:14-alpine AS runner FROM node:19-alpine AS runner
WORKDIR /app WORKDIR /app
ENV NODE_ENV production ENV NODE_ENV production

View File

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

File diff suppressed because it is too large Load Diff