Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
PercussiveElbow authored Jun 16, 2020
1 parent e84dac9 commit 3ee6d2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
FROM crystallang/crystal:latest-alpine AS builder
RUN apk --no-cache add ca-certificates
RUN apk update && apk upgrade
WORKDIR /app
COPY . /app
RUN crystal build --static --release /app/src/crobat_client.cr
FROM busybox:latest
WORKDIR /app
COPY --from=builder /app/crobat_client /app/crobat_client
COPY --from=builder /etc/ssl/certs /etc/ssl/certs
ENTRYPOINT ["/app/crobat_client"]
ENTRYPOINT ["/app/crobat_client"]

0 comments on commit 3ee6d2f

Please sign in to comment.