File: Dockerfile.app

package info (click to toggle)
python-elasticsearch 9.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 23,552 kB
  • sloc: python: 108,433; makefile: 149; javascript: 97
file content (13 lines) | stat: -rw-r--r-- 231 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM python:3.10

EXPOSE 9292
WORKDIR /

COPY requirements.txt /
RUN python -m pip install \
    --no-cache \
    --disable-pip-version-check \
    -r /requirements.txt

COPY app.py /
CMD uvicorn app:app --host=0.0.0.0 --port=9292