FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
SQLStreamStore/Dockerfile at master · SQLStreamStore/SQLStreamStore · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
This repository was archived by the owner on Aug 15, 2024. It is now read-only.
SQLStreamStore
/
SQLStreamStore
Public archive
Notifications
You must be signed in to change notification settings
Fork
130
Star
467
Code
Issues
26
Pull requests
31
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
SQLStreamStore
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
35 lines (21 loc) · 777 Bytes
Breadcrumbs
SQLStreamStore
/
Dockerfile
Copy path
File metadata and controls
35 lines (21 loc) · 777 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM
damianh/dotnet-core-lts-sdks:2
WORKDIR
/repo
#
https://github.com/moby/moby/issues/15858
#
Docker will flatten out the file structure on COPY
#
We don't want to specify each csproj either - it creates pointless layers and it looks ugly
#
https://code-maze.com/aspnetcore-app-dockerfiles/
COPY
./*.sln ./
COPY
./build/ ./build/
COPY
./src/*/*.csproj ./src/
RUN
for file in $(ls src/*.csproj); do mkdir -p ./${file%.*}/ && mv $file ./${file%.*}/; done
COPY
./tests/*/*.csproj ./tests/
RUN
for file in $(ls tests/*.csproj); do mkdir -p ./${file%.*}/ && mv $file ./${file%.*}/; done
RUN
dotnet restore
COPY
./assets ./assets/
COPY
./src ./src/
COPY
./tests ./tests/
WORKDIR
/repo/build
COPY
./build/build.csproj .
RUN
dotnet restore
COPY
./build .
WORKDIR
/repo
Back
|
FazBrowse Home
|
New Git URL