forked from ravendb/ravendb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdebug.Dockerfile
More file actions
23 lines (16 loc) · 791 Bytes
/
debug.Dockerfile
File metadata and controls
23 lines (16 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM mcr.microsoft.com/dotnet/core/sdk:6.0 AS build
WORKDIR /app
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
RUN apt-get install -y gcc g++ make nodejs && node --version
COPY *.sln NuGet.Config *.ruleset *.snk *.txt ./
COPY libs/ ./libs
COPY src/ ./src
RUN ls && du -sh ./src/* && du -sh ./src/Raven.Server/*
RUN dotnet restore ./src/Raven.Server/Raven.Server.csproj
RUN dotnet build ./src/Raven.Server/Raven.Server.csproj && \
echo '{}' > ./src/Raven.Server/bin/Debug/netcoreapp3.1/settings.json
COPY tools/ ./tools
RUN dotnet build ./tools/TypingsGenerator/TypingsGenerator.csproj \
&& cd src/Raven.Studio \
&& npm install && npm run gulp restore && npm run gulp compile
ENTRYPOINT [ "dotnet", "./src/Raven.Server/bin/Debug/net6.0/Raven.Server.dll" ]