Initial commit
This commit is contained in:
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM python:3.11.2
|
||||
|
||||
COPY ./ /
|
||||
WORKDIR /
|
||||
RUN apt-get update
|
||||
RUN apt-get -y dist-upgrade
|
||||
RUN apt-get -y install python3-pip curl
|
||||
RUN curl -sSL https://install.python-poetry.org | python3 -
|
||||
ENV PATH=/root/.local/bin:$PATH
|
||||
RUN poetry install
|
||||
|
||||
CMD ["poetry", "run", "python", "app/main.py"]
|
||||
Reference in New Issue
Block a user