generated from owasp-sbot/OSBot__Repo_Template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
starting to add support for creating docker file
- Loading branch information
Showing
3 changed files
with
41 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM python:3.12-slim | ||
|
||
ARG VERSION=latest | ||
#ARG DOCKER_FOLDER=./deploy/docker/osbot-serverless-flows | ||
|
||
RUN echo "going to install version ${VERSION} of osbot-serverless-flows" | ||
RUN pip install osbot_serverless_flows==${VERSION} | ||
|
||
WORKDIR /app | ||
|
||
#CMD ["python", "-m", "cbr_website_beta"] | ||
CMD ["pip", "list"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
services: | ||
serverless_flows: | ||
build: | ||
context: ../../.. | ||
dockerfile: ./deploy/docker/osbot-serverless-flows/Dockerfile | ||
platform: linux/amd64 | ||
container_name: osbot-serverless-flows-web | ||
#ports: | ||
# - "3000:3000" | ||
#entrypoint: ['./start.sh'] |