Merge pull request #34 from logspace-ai/better_docker

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-03-17 09:19:09 -03:00 committed by GitHub
commit aa8e1aee8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 9 deletions

View file

@ -9,7 +9,6 @@ services:
- "5003:5003"
volumes:
- ./:/app
platform: linux/amd64
command: bash -c "uvicorn langflow_backend.main:app --host 0.0.0.0 --port 5003 --reload"
frontend:

View file

@ -1,7 +1,6 @@
FROM python:3.11-slim
WORKDIR /app
COPY ./ /app
RUN apt-get update && apt-get install gcc -y
RUN pip install langflow>=0.0.33
EXPOSE 5003

View file

@ -3,9 +3,8 @@ version: '3'
services:
langflow:
build:
context: ./
context: .
dockerfile: Dockerfile
ports:
- "5003:5003"
command: langflow --host 0.0.0.0
platform: linux/amd64

8
poetry.lock generated
View file

@ -1087,19 +1087,19 @@ test = ["codecov", "coverage", "ipykernel (>=6.14)", "mypy", "paramiko", "pre-co
[[package]]
name = "jupyter-core"
version = "5.2.0"
version = "5.3.0"
description = "Jupyter core package. A base package on which Jupyter projects rely."
category = "dev"
optional = false
python-versions = ">=3.8"
files = [
{file = "jupyter_core-5.2.0-py3-none-any.whl", hash = "sha256:4bdc2928c37f6917130c667d8b8708f20aee539d8283c6be72aabd2a4b4c83b0"},
{file = "jupyter_core-5.2.0.tar.gz", hash = "sha256:1407cdb4c79ee467696c04b76633fc1884015fa109323365a6372c8e890cc83f"},
{file = "jupyter_core-5.3.0-py3-none-any.whl", hash = "sha256:d4201af84559bc8c70cead287e1ab94aeef3c512848dde077b7684b54d67730d"},
{file = "jupyter_core-5.3.0.tar.gz", hash = "sha256:6db75be0c83edbf1b7c9f91ec266a9a24ef945da630f3120e1a0046dc13713fc"},
]
[package.dependencies]
platformdirs = ">=2.5"
pywin32 = {version = ">=1.0", markers = "sys_platform == \"win32\" and platform_python_implementation != \"PyPy\""}
pywin32 = {version = ">=300", markers = "sys_platform == \"win32\" and platform_python_implementation != \"PyPy\""}
traitlets = ">=5.3"
[package.extras]