Commit inicial - upload de todos os arquivos da pasta
This commit is contained in:
25
Dockerfile
Normal file
25
Dockerfile
Normal file
@@ -0,0 +1,25 @@
|
||||
FROM python:3.11-slim
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
sqlite3 \
|
||||
curl \
|
||||
dos2unix \
|
||||
wget \
|
||||
unzip \
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
|
||||
ENV PATH="/root/.local/bin:${PATH}"
|
||||
|
||||
RUN uv sync
|
||||
|
||||
RUN dos2unix run.sh && chmod +x run.sh
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
CMD ["bash", "run.sh"]
|
||||
Reference in New Issue
Block a user