Skip to content

Commit 34832cd

Browse files
committed
fix: Add binary to docker
1 parent 0a2ccba commit 34832cd

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

skyetel/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ RUN rm -rf vendor/bundle/ruby/*/cache/ && find vendor/ -name "*.o" -delete && fi
1818

1919
COPY --link app.rb ${LAMBDA_TASK_ROOT}/
2020
COPY --link app/ ${LAMBDA_TASK_ROOT}/app/
21+
COPY --link bin/ ${LAMBDA_TASK_ROOT}/bin/
2122
COPY --link --exclude=*.key --exclude=*.sample.csv config/ ${LAMBDA_TASK_ROOT}/config/
2223
COPY --link lib/ ${LAMBDA_TASK_ROOT}/lib/
2324

skyetel/bin/somleng-skyetel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
require "bundler/setup"
55
require "optparse"
66
require_relative "../config/application"
7-
require "pry"
87

98
class OptionsParser
109
class MissingArgumentError < StandardError; end

skyetel/examples/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ The image is ready to be deployed to AWS Lambda and can be triggered by a schedu
1717
If 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
```

0 commit comments

Comments
 (0)