File size: 528 Bytes
7af929b
d6fd146
268c7f9
7af929b
b095847
268c7f9
7af929b
 
268c7f9
7af929b
 
6b2dc7f
7af929b
 
 
6b2dc7f
7af929b
 
268c7f9
7af929b
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Use the official Docker image with Docker and Docker Compose
FROM python:3.10-slim

# Install Docker Compose
RUN pip install docker-compose

# Set the working directory to /app
WORKDIR /app

# Copy the docker-compose.yml file into the container at /app
COPY docker-compose.yml .

# Copy the frontend and backend directories into the container
COPY frontend ./frontend
COPY backend ./backend

# Expose ports (adjust if necessary)
EXPOSE 8501 8080

# Run docker-compose up when the container starts
CMD ["docker-compose", "up"]