Skip to content

Commit 5ae003f

Browse files
authored
Create Dockerfile
1 parent bda7565 commit 5ae003f

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Dockerfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Use official Python base image
2+
FROM python:3.10-slim
3+
4+
# Set working directory
5+
WORKDIR /app
6+
7+
# Copy files
8+
COPY . .
9+
10+
# Install dependencies
11+
RUN pip install --upgrade pip && \
12+
pip install -r requirements.txt
13+
14+
# Expose default Dash port
15+
EXPOSE 8050
16+
17+
# Start the Dash app
18+
CMD ["python", "app.py"]

0 commit comments

Comments
 (0)