This repository has been archived on 2025-07-30. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
welcomecenterbot/Dockerfile

15 lines
350 B
Docker
Raw Normal View History

2024-01-06 14:25:35 +03:00
FROM python:slim
2023-09-11 23:04:53 +03:00
WORKDIR /app
2024-01-06 14:25:35 +03:00
COPY . /app
RUN apt-get update && \
apt-get install -y git curl && \
curl -sSL https://install.python-poetry.org | python - && \
echo "export PATH=$PATH:/root/.local/bin" >> ~/.bashrc && \
. ~/.bashrc && \
poetry config virtualenvs.create false && \
poetry install --no-dev
CMD python main.py