ci: move binaries to path

This commit is contained in:
Juan Rodriguez
2024-05-14 06:21:13 +02:00
parent abb35019f3
commit 80a91583fe
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -11,9 +11,9 @@ RUN shards install
RUN shards build --progress
FROM base AS release
COPY --from=build /usr/src/app/bin/migrate .
COPY --from=build /usr/src/app/bin/url-shortener .
COPY --from=build /usr/src/app/bin/cli .
RUN mkdir -p /usr/src/app/sqlite
COPY --from=build /usr/src/app/db db
COPY --from=build /usr/src/app/bin /usr/local/bin
EXPOSE 4000/tcp
CMD ["./url-shortener"]
CMD ["url-shortener"]