File tree Expand file tree Collapse file tree 2 files changed +44
-1
lines changed
Expand file tree Collapse file tree 2 files changed +44
-1
lines changed Original file line number Diff line number Diff line change 1+ FROM ubuntu:22.04
2+
3+ ENV DEBIAN_FRONTEND=noninteractive
4+
5+ # # PYTHON
6+
7+ RUN apt update
8+ RUN apt install software-properties-common -y
9+ RUN add-apt-repository ppa:deadsnakes/ppa -y && \
10+ apt update
11+ RUN apt install python3.10 -y
12+ RUN apt install python3.10-dev python3.10-venv python3-pip -y
13+
14+ # Utils
15+ RUN apt install -y curl \
16+ lsof
17+
18+ COPY ./ /app
19+
20+ RUN chmod +x /app/run.sh
21+
22+ WORKDIR /app
23+ EXPOSE 8080 8081
24+
25+ ENTRYPOINT ["/app/run.sh" ]
Original file line number Diff line number Diff line change @@ -58,4 +58,22 @@ APPS contains information about the applications you need to develop. The first
5858 - setp1Task (used for breaking down tasks).
5959- service.lib: Libraries/packages available for the service.
6060 - setpReqChooseLib (analysis of libraries/packages used together).
61- - service.specification: Specification for using library packages.
61+ - service.specification: Specification for using library packages.
62+
63+ ## Docker Build & Run
64+
65+ 1 . ** Build the Docker Image** :
66+ ```
67+ docker build . -t devopsgpt
68+ ```
69+ 2 . ** Setup Workspace** :
70+ ```
71+ mkdir -p workspace
72+ ```
73+ 3 . ** Run the Docker Container** :
74+ ```
75+ docker run -it \
76+ -v$PWD/workspace:/app/workspace \
77+ -v$PWD/env.yaml:/app/env.yaml \
78+ -p8080:8080 -p8081:8081 devopsgpt
79+ ```
You can’t perform that action at this time.
0 commit comments