Skip to content

Commit c8439c2

Browse files
authored
docker files
1 parent 7583825 commit c8439c2

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM python:3.8-slim-buster
2+
3+
WORKDIR /app
4+
5+
COPY requirements.txt requirements.txt
6+
RUN pip3 install -r requirements.txt
7+
8+
COPY . .
9+
10+
CMD ["python3", "./run.py"]

docker-compose.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: '3.5'
2+
3+
services:
4+
chatgpt-clone:
5+
image: chatgpt-clone
6+
container_name: chatgpt-clone
7+
build:
8+
context: .
9+
dockerfile: Dockerfile
10+
ports:
11+
- "1337:1337"

0 commit comments

Comments
 (0)