Spaces:
Running
Running
Delete Dockerfile
Browse files- Dockerfile +0 -20
Dockerfile
DELETED
|
@@ -1,20 +0,0 @@
|
|
| 1 |
-
# Dockerfile (이거 그대로 복사해서 Dockerfile 이라는 이름으로 저장!)
|
| 2 |
-
FROM python:3.12-slim-buster
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
WORKDIR /app
|
| 6 |
-
|
| 7 |
-
COPY requirements.txt .
|
| 8 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 9 |
-
|
| 10 |
-
COPY app.py .
|
| 11 |
-
COPY dataset.xlsx .
|
| 12 |
-
|
| 13 |
-
EXPOSE 7860
|
| 14 |
-
|
| 15 |
-
# 네 Flask 앱을 웹 서버처럼 실행시켜주는 명령어 (Gunicorn이 도와줌)
|
| 16 |
-
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"]
|
| 17 |
-
|
| 18 |
-
# Dockerfile에 Rust 설치 추가
|
| 19 |
-
RUN apt-get update && apt-get install -y curl build-essential
|
| 20 |
-
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|