summary refs log tree commit diff
path: root/api/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'api/Dockerfile')
-rw-r--r--api/Dockerfile12
1 files changed, 0 insertions, 12 deletions
diff --git a/api/Dockerfile b/api/Dockerfile
deleted file mode 100644
index 08d15f72..00000000
--- a/api/Dockerfile
+++ /dev/null
@@ -1,12 +0,0 @@
-FROM node:lts-alpine
-# needed for native packages (bcrypt, canvas)
-RUN apk add --no-cache make gcc g++ python cairo-dev jpeg-dev pango-dev giflib-dev
-WORKDIR /usr/src/fosscord-server
-COPY package.json .
-COPY package-lock.json .
-RUN npm rebuild bcrypt --build-from-source && npm install canvas --build-from-source
-RUN npm install
-COPY . .
-EXPOSE 3001
-RUN npm run build-docker
-CMD ["node", "dist/start.js"]