Skip to content

Commit 9dfd531

Browse files
Add docekrfile
1 parent e86f954 commit 9dfd531

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
FROM ubuntu:24.04
2+
3+
# Install dependencies
4+
RUN apt update && apt install -y \
5+
libqt6widgets6 \
6+
libvulkan1 \
7+
vulkan-tools \
8+
mesa-vulkan-drivers \
9+
&& rm -rf /var/lib/apt/lists/*
10+
11+
# Copy the built application
12+
COPY vulkanimageviewer /app/vulkanimageviewer
13+
COPY 1024-768.jpg /app/1.png
14+
15+
# Set executable permission
16+
RUN chmod +x /app/vulkanimageviewer
17+
18+
# Run the application
19+
CMD ["/app/vulkanimageviewer"]

0 commit comments

Comments
 (0)