-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
945e93e
commit 4e894b8
Showing
2 changed files
with
9 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
FROM alpine:edge | ||
RUN apk add -U make llvm-static yaml-static sqlite-static libssh2-static zlib-static libretls-static openssl-libs-static openssl-dev openssl crystal shards | ||
RUN mkdir /ecmo | ||
COPY . /ecmo | ||
WORKDIR /ecmo | ||
RUN shards update | ||
RUN crystal build --release --static /ecmo/src/app.cr -o /ecmo/dist/ecmo-linux-x86-64.bin | ||
ENTRYPOINT ["/ecmo/dist/ecmo-linux-x86-64.bin"] | ||
EXPOSE 3000 |
This file was deleted.
Oops, something went wrong.