docker test setting

This commit is contained in:
2024-10-04 00:28:36 +09:00
parent 7f03ff861b
commit 82b132f519
7 changed files with 28 additions and 6 deletions

15
Dockerfile Normal file
View File

@ -0,0 +1,15 @@
FROM python:3.10-slim-buster
WORKDIR /usr/src/app
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
COPY . /usr/src/app
# install python dependencies
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
# 6. Python main.py 파일을 실행합니다.
CMD ["python", "main.py"]