This commit is contained in:
parent
557f5a5396
commit
cd287f2eae
1 changed files with 1 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
|||
FROM crystallang/crystal:1.3-alpine as deps
|
||||
WORKDIR /app
|
||||
RUN apk add curl --no-cache
|
||||
COPY ./shard.yml ./shard.lock ./
|
||||
RUN shards install --production
|
||||
|
||||
|
@ -9,8 +8,8 @@ ARG BUILD_ENV
|
|||
WORKDIR /app/backend
|
||||
COPY --from=deps /app/shard.yml /app/shard.lock ./
|
||||
COPY --from=deps /app/lib ./lib
|
||||
COPY ./Makefile ./Makefile
|
||||
COPY ./LICENSE ./LICENSE
|
||||
COPY ./Makefile ./Makefile
|
||||
COPY ./src ./src
|
||||
RUN if [ "${BUILD_ENV}" = "development" ]; then \
|
||||
make dev; \
|
||||
|
|
Loading…
Reference in a new issue