Move binaries to /usr/local/bin
This commit is contained in:
parent
8ea685b2ff
commit
d8621d15a7
1 changed files with 2 additions and 3 deletions
|
@ -29,9 +29,8 @@ RUN if [ "${BUILD_ENV}" = "development" ]; then \
|
||||||
shards build --static --release --no-debug --verbose -s -p -t; \
|
shards build --static --release --no-debug --verbose -s -p -t; \
|
||||||
fi
|
fi
|
||||||
FROM scratch as runner
|
FROM scratch as runner
|
||||||
WORKDIR /
|
COPY --from=micrate-builder /app/bin/micrate /usr/local/bin/micrate
|
||||||
COPY --from=micrate-builder /app/bin/micrate ./bin/micrate
|
COPY --from=builder /app/bin/mw /usr/local/bin/mw
|
||||||
COPY --from=builder /app/bin/mw ./bin/mw
|
|
||||||
COPY ./db ./db
|
COPY ./db ./db
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
CMD [ "mw" ]
|
CMD [ "mw" ]
|
||||||
|
|
Loading…
Reference in a new issue