NsManick commited on
Commit
53faac1
·
verified ·
1 Parent(s): f914c8d

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -25
Dockerfile DELETED
@@ -1,25 +0,0 @@
1
- # ---- build stage ----
2
- FROM python:3.11-slim AS build
3
-
4
- WORKDIR /app
5
- COPY requirements.txt .
6
- RUN pip install --upgrade pip && \
7
- pip wheel --no-deps -r requirements.txt -w /wheels
8
-
9
- # ---- runtime stage ----
10
- FROM python:3.11-slim
11
-
12
- ENV PYTHONUNBUFFERED=1
13
- WORKDIR /app
14
-
15
- # add wheels then install
16
- COPY --from=build /wheels /wheels
17
- RUN pip install --no-index --find-links=/wheels /wheels/*
18
-
19
- # copy source
20
- COPY app ./app
21
- COPY logs ./logs # create if empty
22
- RUN mkdir -p temp_uploads
23
-
24
- EXPOSE 8000
25
- CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]