2022-04-17 10:01:30 +02:00
|
|
|
FROM node:17-alpine
|
2015-04-21 15:43:16 +02:00
|
|
|
|
2022-04-17 10:01:30 +02:00
|
|
|
CMD ["npm", "start"]
|
2015-04-21 15:43:16 +02:00
|
|
|
|
2022-04-17 10:01:30 +02:00
|
|
|
RUN apk add --no-cache git
|
|
|
|
WORKDIR /app
|
2015-04-21 15:43:16 +02:00
|
|
|
|
2022-04-17 10:01:30 +02:00
|
|
|
COPY package.json ./
|
|
|
|
RUN npm i
|
2015-04-21 15:43:16 +02:00
|
|
|
|
2022-04-17 10:01:30 +02:00
|
|
|
COPY . .
|