Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

FROM python:3.11-slim

WORKDIR /app

# Instala dependências do sistema
RUN apt-get update && apt-get install -y \
libffi-dev libssl-dev build-essential git && \

Check warning on line 8 in Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Sort these package names alphanumerically.

See more on https://sonarcloud.io/project/issues?id=Screenly_screenly-ose&issues=AZqnmHUiAbxh_P48zACu&open=AZqnmHUiAbxh_P48zACu&pullRequest=2582
rm -rf /var/lib/apt/lists/*

# Copia arquivos do projeto
COPY . /app

# Instala dependências Python
RUN pip install --no-cache-dir -r requirements.txt

# Define porta
ENV PORT=80
EXPOSE 80

# Comando para iniciar Anthias
CMD ["python", "server.py"]