summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorEmilien Devos <contact@emiliendevos.be>2020-05-22 19:58:48 +0200
committerEmilien Devos <contact@emiliendevos.be>2020-05-22 19:58:48 +0200
commite91177fc59d8862f87010ff30d1986d2a37a0b58 (patch)
treeb5d9880ccae0ab2704fb3ff15686b79befc1c7ad /Dockerfile
working version
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..6a6c9d5
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,16 @@
+FROM node:14-alpine
+RUN apk add --no-cache \
+ chromium \
+ nss \
+ freetype \
+ freetype-dev \
+ harfbuzz \
+ ca-certificates \
+ ttf-freefont
+ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
+WORKDIR /app
+COPY package*.json ./
+RUN npm install
+COPY . .
+EXPOSE 3000
+CMD [ "npm", "start" ]