summary refs log tree commit diff
path: root/api/Dockerfile
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2022-08-13 02:00:50 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2022-08-13 22:00:55 +0200
commit5e86d7ab9c5200d794c3adb2b422d20a2aefd2ce (patch)
tree0a4b23ee96862077b21dea20cf71205709e15f7c /api/Dockerfile
parenttry to update build script (diff)
downloadserver-5e86d7ab9c5200d794c3adb2b422d20a2aefd2ce.tar.xz
restructure to single project
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"]