Spaces:
Sleeping
Sleeping
File size: 468 Bytes
7af929b a96301b 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 |
# 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"]
|