wp-post-automation/Dockerfile
2024-10-04 00:28:36 +09:00

15 lines
312 B
Docker

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"]