Skip to content

Commit

Permalink
wip: automated docker builds
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-aires committed Apr 19, 2022
1 parent 945e93e commit 4e894b8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 66 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
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
66 changes: 0 additions & 66 deletions shard.lock

This file was deleted.

0 comments on commit 4e894b8

Please sign in to comment.