Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
destream-blockchain
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DeStream-public
destream-blockchain
Commits
cf7d6046
Commit
cf7d6046
authored
Jan 29, 2019
by
Anton Borisov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Dockerfile
parent
eae901bb
Pipeline
#22
passed with stage
in 2 minutes and 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
10 deletions
+13
-10
Dockerfile
Dockerfile
+13
-10
No files found.
Dockerfile
View file @
cf7d6046
FROM
microsoft/dotnet:2.2-sdk-alpine
FROM
microsoft/dotnet:2.1-sdk-alpine AS builder
WORKDIR
/app
COPY
./Sources
/var/www/build
COPY
./Sources
./
RUN
cd
/var/www/build
\
&&
dotnet build
\
&&
cd
DeStream.DeStreamD
\
&&
dotnet publish
-c
Release
--framework
netcoreapp2.1
--runtime
alpine-x64
--output
/var/www/app
\
&&
ls
-la
/var/www/app
\
&&
rm
-rf
/var/www/build
RUN
ls
WORKDIR
/var/www/app
RUN
dotnet build
ENTRYPOINT
["dotnet", "run", "/var/www/app/DeStream.DeStreamD.dll", "-testnet", "2>&1>", "/dev/null"]
\ No newline at end of file
RUN
cd
DeStream.DeStreamD
\
&&
dotnet publish
-c
Release
--framework
netcoreapp2.1
--runtime
alpine-x64
-o
out
FROM
microsoft/dotnet:2.1-runtime-alpine
WORKDIR
/app
COPY
--from=builder /app/DeStream.DeStreamD/out .
ENTRYPOINT
["dotnet", "DeStream.DeStreamD.dll", "-testnet"]
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment