aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorRuben Beltran del Rio <ruben@unlimited.pizza>2021-12-19 14:21:33 +0100
committerRuben Beltran del Rio <ruben@unlimited.pizza>2021-12-19 14:21:33 +0100
commit5d9f7190bd118fe4d44594d7a9584de98b527467 (patch)
treec323938b4626290a227a652380af769d7f4c4518 /Dockerfile
parent29f687276d9e9ef01ce70ebd210a01386ca581ae (diff)
Port to svelte
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile20
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"]