prompt-engine / Dockerfile
Lazar Radojevic
fix typo
d6fd146
raw
history blame
528 Bytes
# 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"]