Create Dockerfile
Browse files- Dockerfile +15 -0
Dockerfile
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM node:22
|
| 2 |
+
|
| 3 |
+
RUN apt update -y && apt dist-upgrade -y && apt install redis-server -y && npm install pnpm -g
|
| 4 |
+
|
| 5 |
+
WORKDIR /RUN
|
| 6 |
+
|
| 7 |
+
RUN git clone https://gitee.com/QQ1146638442/GT-Manual.git && \
|
| 8 |
+
cd GT-Manual && \
|
| 9 |
+
pnpm install -P
|
| 10 |
+
|
| 11 |
+
COPY config /RUN/GT-Manual/config/config
|
| 12 |
+
|
| 13 |
+
RUN chmod -R 777 ./*
|
| 14 |
+
|
| 15 |
+
CMD node app
|