Instructions to use Iqbaljanitra/Profit_Calculation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ESPnet
How to use Iqbaljanitra/Profit_Calculation with ESPnet:
unknown model type (must be text-to-speech or automatic-speech-recognition)
- Notebooks
- Google Colab
- Kaggle
Create Dockerfile
Browse files- Dockerfile +15 -0
Dockerfile
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.10.10
|
| 2 |
+
|
| 3 |
+
WORKDIR /app
|
| 4 |
+
|
| 5 |
+
COPY requirements.txt requirements.txt
|
| 6 |
+
RUN pip install -r requirements.txt
|
| 7 |
+
|
| 8 |
+
# Step 4: Salin semua file aplikasi ke dalam kontainer
|
| 9 |
+
COPY
|
| 10 |
+
βββ app.py # File utama aplikasi Flask
|
| 11 |
+
βββ requirements.txt # File requirements untuk dependencies
|
| 12 |
+
βββ templates/ # Direktori untuk menyimpan template HTML
|
| 13 |
+
βββ index.html
|
| 14 |
+
|
| 15 |
+
CMD ["python", "app.py"]
|