2022-05-01 09:16:25 +00:00
|
|
|
FROM node:16-alpine
|
2019-12-24 11:37:29 +00:00
|
|
|
|
2022-05-01 09:16:25 +00:00
|
|
|
RUN apk update && apk add python3 make gcc g++
|
|
|
|
|
|
|
|
WORKDIR /app
|
2019-12-24 11:37:29 +00:00
|
|
|
|
2022-05-01 09:16:25 +00:00
|
|
|
ADD package.json .
|
2019-12-24 11:37:29 +00:00
|
|
|
RUN npm install
|
|
|
|
|
2022-05-01 09:16:25 +00:00
|
|
|
ADD . .
|
|
|
|
|
2019-12-24 11:37:29 +00:00
|
|
|
EXPOSE 8000
|
|
|
|
|
|
|
|
CMD ["npm", "start"]
|