Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
espresso
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eduardo Trujillo
espresso
Commits
4acc2935
Commit
4acc2935
authored
5 years ago
by
Eduardo Trujillo
Browse files
Options
Downloads
Patches
Plain Diff
Add a Dockerfile
parent
8f12b296
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+22
-0
22 additions, 0 deletions
Dockerfile
with
22 additions
and
0 deletions
Dockerfile
0 → 100644
+
22
−
0
View file @
4acc2935
# Build
FROM
fpco/stack-build:lts-14.17
as
build
RUN
mkdir
/opt/build
COPY
. /opt/build
RUN
cd
/opt/build
&&
stack
install
--system-ghc
# Runtime
FROM
ubuntu:20.04
RUN
mkdir
-p
/opt/espresso
ARG
BINARY_PATH
WORKDIR
/opt/espresso
RUN
apt-get update
&&
apt-get
install
-y
\
ca-certificates
\
libgmp-dev
COPY
--from=build /root/.local/bin/espresso .
CMD
["/opt/espresso/espresso"]
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment