-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathDockerfile
More file actions
41 lines (26 loc) · 830 Bytes
/
Dockerfile
File metadata and controls
41 lines (26 loc) · 830 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
FROM ghcr.io/trueforge-org/node:24.14.1@sha256:d823f0ad31f49d9944d39857b673a0aef31e9d6edbff53b855d7a1f1b63512f6 as builder
ARG TARGETARCH
ARG VENDOR
ARG VERSION
USER root
WORKDIR /app
RUN apt-get update && \
apt-get install -y --no-install-recommends \
git \
&& rm -rf /var/lib/apt/lists/* /tmp/*
RUN git clone --recursive https://github.com/DasRaschloch/deemix-gui.git
WORKDIR /app/deemix-gui
RUN yarn install-all
RUN yarn dist-server
FROM ghcr.io/trueforge-org/ubuntu:24.04@sha256:cc82810600df75ed627ea3453ff80a6fc5204ea48139834e41f0c74e685ef776
ARG TARGETARCH
ARG VENDOR
ARG VERSION
USER root
WORKDIR /app
USER apps
COPY --from=builder /app/deemix-gui/dist/deemix-server-linux /app/deemix-server
COPY --from=builder /app/deemix-gui/docker/ /app/
COPY --chmod=0755 . /
EXPOSE 6595
WORKDIR /config