docker deployment

This commit is contained in:
thebigbone
2023-05-14 12:00:37 +05:30
parent 233ce08f3f
commit 02b706bd0b
2 changed files with 35 additions and 0 deletions

21
Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
FROM ubuntu:latest
RUN apt-get update && apt-get install -y \
git \
python3 \
pip
WORKDIR /app
COPY . /app
RUN pip install -r requirements.txt
EXPOSE 3306
EXPOSE 8000
CMD ["python", "pilot/server/vicuna_server.py"]
CMD ["python", "pilot/server/webserver.py"]