Move binaries to /bin instead of /usr/local/bin
This commit is contained in:
parent
695170dfb6
commit
55eb157f64
1 changed files with 2 additions and 2 deletions
|
@ -29,8 +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
|
||||||
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