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