2024-01-03 03:09:05 +00:00
|
|
|
FROM crystallang/crystal:latest
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get install libmagic-dev -y
|
|
|
|
|
|
|
|
COPY . .
|
|
|
|
|
|
|
|
RUN shards install
|
2024-01-03 16:10:37 +00:00
|
|
|
RUN shards build server --release
|
|
|
|
RUN shards build cli
|
2024-01-03 03:09:05 +00:00
|
|
|
|
|
|
|
ENTRYPOINT [ "docker/entrypoint.sh" ]
|