eder0782 commited on
Commit
d7f1e52
·
verified ·
1 Parent(s): ef40bb3

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -28
Dockerfile DELETED
@@ -1,28 +0,0 @@
1
- # Dockerfile
2
-
3
- # Base para a API
4
- FROM quay.io/go-skynet/local-ai:latest AS api
5
-
6
- # Copie os modelos para o contêiner
7
- COPY ./models /models
8
-
9
- # Base para o Frontend
10
- FROM quay.io/go-skynet/localai-frontend:master AS frontend
11
-
12
- # Unificação dos serviços
13
- FROM ubuntu:20.04
14
-
15
- # Instalação das dependências necessárias (se houver)
16
- RUN apt-get update && apt-get install -y \
17
- curl \
18
- && rm -rf /var/lib/apt/lists/*
19
-
20
- # Copie os arquivos da API e Frontend das etapas anteriores
21
- COPY --from=api /usr/bin/local-ai /usr/bin/local-ai
22
- COPY --from=frontend /frontend /frontend
23
-
24
- # Exponha as portas
25
- EXPOSE 8080 3000
26
-
27
- # Comando para iniciar ambos os serviços
28
- CMD ["sh", "-c", "/usr/bin/local-ai & cd /frontend && npm start"]