12 lines
214 B
Docker
12 lines
214 B
Docker
FROM node:18-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories \
|
|
&& apk add --no-cache python3 make g++ \
|
|
&& npm install
|
|
|
|
COPY . .
|
|
|
|
CMD ["npm", "start"]
|