# Use the official Nextcloud image as the base image | |
FROM ubuntu:latest | |
# Install additional PHP modules if required (uncomment and add more if needed) | |
RUN apt-get update && apt-get upgrade -y | |
RUN apt-get install docker-compose -y | |
EXPOSE 7860 | |
COPY . /app | |
RUN cd /app | |
RUN export PATH=$PATH:$HOME/.local/bin | |
CMD ["docker-compose up"] | |