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