Update Dockerfile
Browse files- Dockerfile +0 -17
Dockerfile
CHANGED
@@ -1,28 +1,11 @@
|
|
1 |
-
#FROM ubuntu:latest
|
2 |
FROM node:18
|
3 |
|
4 |
WORKDIR /app
|
5 |
-
|
6 |
-
# RUN apt update \
|
7 |
-
# && apt-get install -y curl unzip wget gnupg2 ca-certificates
|
8 |
-
|
9 |
ENV GBP_USER ${GBP_USER:-gbp}
|
10 |
ENV GBP_USER_ID ${GBP_USER_ID:-1000}
|
11 |
USER root
|
12 |
|
13 |
|
14 |
-
# ADD launch.sh ./launch.sh
|
15 |
-
# RUN chmod 777 /app && chmod 777 /app/launch.sh
|
16 |
-
|
17 |
-
# RUN wget -q -O - https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | tee /etc/apt/trusted.gpg.d/microsoft.gpg >/dev/null \
|
18 |
-
# && echo "deb https://packages.microsoft.com/repos/edge stable main" >> /etc/apt/sources.list.d/microsoft-edge.list \
|
19 |
-
# && apt-get update -qqy \
|
20 |
-
# && apt-get -qqy --no-install-recommends install microsoft-edge-stable
|
21 |
-
|
22 |
-
# RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash \
|
23 |
-
# && apt-get install -y nodejs
|
24 |
-
# RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
25 |
-
|
26 |
RUN git clone https://github.com/bincooo/coze-helper.git .
|
27 |
RUN npm install
|
28 |
CMD npm run start
|
|
|
|
|
1 |
FROM node:18
|
2 |
|
3 |
WORKDIR /app
|
|
|
|
|
|
|
|
|
4 |
ENV GBP_USER ${GBP_USER:-gbp}
|
5 |
ENV GBP_USER_ID ${GBP_USER_ID:-1000}
|
6 |
USER root
|
7 |
|
8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
RUN git clone https://github.com/bincooo/coze-helper.git .
|
10 |
RUN npm install
|
11 |
CMD npm run start
|