sugoi-v4 / Dockerfile
playmak3r's picture
Create Dockerfile
92eba1f
raw
history blame
357 Bytes
FROM node:18 AS builder
RUN npm install
RUN npm run build
FROM python:3.10-slim
# Copie o c贸digo da aplica莽茫o para o container
COPY server/* /app/
# Defina o diret贸rio de trabalho
WORKDIR /app
RUN pip install --no-cache-dir -r /app/requirements.txt
RUN python /app/setup.py -download
# Comando para executar o script Python
CMD ["python", "app.py"]