diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-10-16 15:12:32 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-10-16 15:12:32 +0200 |
| commit | f7f0ed4c2a195ee3b7fc0e8acb0283c817a0f927 (patch) | |
| tree | 4bca74146865e9534e1fec95feccfa2980c84660 /Dockerfile | |
| parent | d0753b3a9711f554331d72f90618605f7c714d55 (diff) | |
Add the CI deployment files
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..eaa5ae5 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +FROM node:16-slim + +RUN apt-get update && \ + apt-get install -y \ + build-essential \ + python3-pip + +RUN pip3 install awscli +RUN rm -rf /var/cache/apk/* + +WORKDIR /app + +COPY package-lock.json . +COPY package.json . +RUN npm ci + +COPY scripts/mime.types /etc/mime.types +COPY . . + +ENTRYPOINT ["npm"] |