mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
ca0851418e
Previous image was 7.69GB which is somewhat heavy. Now the resulting image is 1.20GB thanks to multi-stage builds.
21 lines
443 B
YAML
21 lines
443 B
YAML
version: "3"
|
|
|
|
services:
|
|
app:
|
|
build: .
|
|
image: appflowy/appflowy:latest
|
|
stdin_open: true
|
|
# tty: true
|
|
environment:
|
|
- DISPLAY=${DISPLAY}
|
|
volumes:
|
|
- $HOME/.Xauthority:/root/.Xauthority:rw
|
|
- /tmp/.X11-unix:/tmp/.X11-unix
|
|
- /dev/dri:/dev/dri
|
|
- /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket
|
|
- appflowy-data:/home/makepkg
|
|
network_mode: host
|
|
|
|
volumes:
|
|
appflowy-data:
|