Skip to content

Commit 446ec7b

Browse files
committed
feat: changes in profile
1 parent ee76861 commit 446ec7b

File tree

8 files changed

+472
-1
lines changed

8 files changed

+472
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
.history
1010
.svn/
1111
migrate_working_dir/
12-
user-profile-api/
12+
user-profile-api/firebase-adminsdk.json
1313
GoogleService-Info.plist
1414

1515
# IntelliJ related

user-profile-api/Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Usar uma imagem base oficial do Python
2+
FROM python:3.9-slim
3+
4+
# Definir o diretório de trabalho no contêiner
5+
WORKDIR /app
6+
7+
# Copiar os arquivos do projeto para o diretório de trabalho
8+
COPY . /app
9+
10+
# Instalar as dependências do projeto
11+
RUN pip install --no-cache-dir -r requirements.txt
12+
13+
# Expor a porta 5000
14+
EXPOSE 5000
15+
16+
# Comando para rodar a aplicação usando waitress
17+
CMD ["waitress-serve", "--port=5000", "app:app"]

0 commit comments

Comments
 (0)