2024-08-08 18:22:22 +08:00
|
|
|
FROM node:18-alpine
|
2024-08-08 13:29:13 +08:00
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
2024-08-09 10:51:34 +08:00
|
|
|
RUN apk add --no-cache python3 make g++ \
|
|
|
|
&& npm install
|
2024-08-08 13:29:13 +08:00
|
|
|
|
|
|
|
COPY . .
|
|
|
|
|
2024-08-09 10:51:34 +08:00
|
|
|
CMD ["npm", "start"]
|