File tree Expand file tree Collapse file tree 3 files changed +2
-2
lines changed
Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ RUN rm -rf vendor/bundle/ruby/*/cache/ && find vendor/ -name "*.o" -delete && fi
1818
1919COPY --link app.rb ${LAMBDA_TASK_ROOT}/
2020COPY --link app/ ${LAMBDA_TASK_ROOT}/app/
21+ COPY --link bin/ ${LAMBDA_TASK_ROOT}/bin/
2122COPY --link --exclude=*.key --exclude=*.sample.csv config/ ${LAMBDA_TASK_ROOT}/config/
2223COPY --link lib/ ${LAMBDA_TASK_ROOT}/lib/
2324
Original file line number Diff line number Diff line change 44require "bundler/setup"
55require "optparse"
66require_relative "../config/application"
7- require "pry"
87
98class OptionsParser
109 class MissingArgumentError < StandardError ; end
Original file line number Diff line number Diff line change @@ -17,5 +17,5 @@ The image is ready to be deployed to AWS Lambda and can be triggered by a schedu
1717If you're not using Lambda, you can run your image with the following command:
1818
1919``` bash
20- docker run --platform linux/amd64 --rm -it -e APP_ENV=production -e SOMLENG_API_KEY=' somleng-carrier-api-key' SOMLENG_API_KEY=' somleng-carrier-api-key' -e SKYETEL_USERNAME=' skyetel-username' -e SKYETEL_PASSWORD=' skyetel-password' -e MIN_STOCK=5 -e MAX_STOCK=10 --entrypoint ./bin/somleng-skyetel somleng-skyetel:example
20+ docker run --platform linux/amd64 --rm -it -e APP_ENV=production -e SOMLENG_API_KEY=' somleng-carrier-api-key' -e SOMLENG_API_KEY=' somleng-carrier-api-key' -e SKYETEL_USERNAME=' skyetel-username' -e SKYETEL_PASSWORD=' skyetel-password' -e MIN_STOCK=5 -e MAX_STOCK=10 --entrypoint ./bin/somleng-skyetel somleng-skyetel:example
2121```
You can’t perform that action at this time.
0 commit comments