arya89 commited on
Commit
70bcbae
·
verified ·
1 Parent(s): 5918394

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -30
Dockerfile DELETED
@@ -1,30 +0,0 @@
1
- # Copyright (c) Meta Platforms, Inc. and affiliates.
2
- # All rights reserved.
3
- #
4
- # This source code is licensed under the BSD-style license found in the
5
- # LICENSE file in the root directory of this source tree.
6
-
7
- # Multi-stage build using openenv-base
8
- # This Dockerfile is flexible and works for both:
9
- # - In-repo environments (with local OpenEnv sources)
10
- # - Standalone environments (with openenv from PyPI/Git)
11
- # The build script (openenv build) handles context detection and sets appropriate build args.
12
-
13
- FROM python:3.11-slim
14
-
15
- WORKDIR /app
16
-
17
- COPY . /app
18
-
19
- RUN pip install --no-cache-dir \
20
- openenv-core \
21
- fastapi \
22
- uvicorn[standard] \
23
- pydantic \
24
- openai
25
-
26
- ENV PYTHONPATH="/app:"
27
-
28
- EXPOSE 7860
29
-
30
- CMD ["python", "-m", "uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "7860"]