]>
Commit | Line | Data |
---|---|---|
1 | FROM node:16-slim | |
2 | ||
3 | RUN apt-get update && \ | |
4 | apt-get install -y \ | |
5 | build-essential \ | |
6 | python3-pip | |
7 | ||
8 | RUN pip3 install awscli | |
9 | RUN rm -rf /var/cache/apk/* | |
10 | ||
11 | WORKDIR /app | |
12 | ||
13 | COPY package-lock.json . | |
14 | COPY package.json . | |
15 | RUN npm ci | |
16 | ||
17 | COPY scripts/mime.types /etc/mime.types | |
18 | COPY . . | |
19 | ||
20 | ENTRYPOINT ["npm"] |