zyxciss commited on
Commit
c06e38b
·
verified ·
1 Parent(s): ef04c83

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -29
Dockerfile CHANGED
@@ -1,29 +1,2 @@
1
- # Use official Podman image (Fedora-based)
2
- FROM quay.io/podman/stable:latest
3
-
4
- # Install dependencies using dnf (not apt!)
5
- RUN dnf -y install git python3 python3-pip && \
6
- pip3 install podman-compose && \
7
- dnf clean all
8
-
9
- # Set working directory
10
- WORKDIR /app
11
-
12
- # Clone Supabase repository (shallow clone)
13
- RUN git clone --depth 1 https://github.com/supabase/supabase
14
-
15
- # Create project directory
16
- RUN mkdir /app/supabase-project
17
-
18
- # Copy docker-compose files to project
19
- RUN cp -rf /app/supabase/docker/* /app/supabase-project/ && \
20
- cp /app/supabase/docker/.env.example /app/supabase-project/.env
21
-
22
- # Switch to the new project directory
23
- WORKDIR /app/supabase-project
24
-
25
- # Expose Supabase port
26
- EXPOSE 7860
27
-
28
- # Start services with podman-compose and keep container alive
29
- CMD podman-compose up -d && tail -f /dev/null
 
1
+ FROM ghcr.io/open-webui/open-webui:main
2
+ EXPOSE 8080