-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
43 lines (25 loc) · 813 Bytes
/
Dockerfile
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
42
43
FROM debian:12-slim
RUN apt-get update && apt-get install -y locales && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
ENV LANG en_US.utf8
RUN apt-get -y install \
sudo \
git \
python3 \
python3-pip \
nodejs\
npm
RUN pip install qmk --break-system-packages
RUN echo 'PATH="$HOME/.local/bin:$PATH"' >> $HOME/.bashrc
RUN ["/bin/bash", "-c", "source $HOME/.bashrc"]
RUN qmk setup -y
WORKDIR /root
RUN git clone https://github.com/vial-kb/vial-qmk.git
WORKDIR /root/vial-qmk
RUN /usr/bin/python3 -m pip install --break-system-packages -r /root/vial-qmk/requirements.txt
RUN make git-submodule
WORKDIR /root/custom_repository
COPY ./firmware-scripts/ /firmware-scripts
COPY ./server/ /server
WORKDIR /server
RUN npm install
CMD node ./src/app.js