Spaces:
Sleeping
Sleeping
# Use the official Docker image with Docker and Docker Compose | |
FROM docker:latest | |
# 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"] | |