Added production flag to dep install
This commit is contained in:
parent
b2d813b67a
commit
2cdbe4ec82
|
@ -2,7 +2,7 @@ FROM crystallang/crystal:latest-alpine as deps
|
|||
WORKDIR /app
|
||||
RUN apk add curl --no-cache
|
||||
COPY ./shard.yml ./shard.lock ./
|
||||
RUN shards install
|
||||
RUN shards install --production
|
||||
|
||||
FROM crystallang/crystal:latest-alpine as builder
|
||||
ARG BUILD_ENV
|
||||
|
|
Loading…
Reference in a new issue