-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (18 loc) · 811 Bytes
/
Dockerfile
File metadata and controls
25 lines (18 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Dockerfile for Time series Analysis App deployment
# ----------------------------------------------------------
# This Dockerfile is used to build a Docker image for running
# an Ensemble learning of Time Series Forecastin app.
# It starts with an Alpine-based Python 3.10 image,
# sets up the working directory,
# installs the Python dependencies listed in requirements.txt,
# copies the application source code into the container,
# exposes port 8501 to allow external access, and finally,
# runs the app using the specified command.
# ----------------------------------------------------------
FROM python:3.10.0-alpine
WORKDIR /app
COPY requirements.txt /app/
RUN pip install --no-cache-dir -r requirements.txt
COPY . /app
EXPOSE 8501
CMD ["python", "src/main.py", "src/Features/all_data_ts.csv"]