summary refs log tree commit diff
path: root/cdn/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'cdn/Dockerfile')
-rw-r--r--cdn/Dockerfile21
1 files changed, 7 insertions, 14 deletions
diff --git a/cdn/Dockerfile b/cdn/Dockerfile
index 2503240b..d9ad78f4 100644
--- a/cdn/Dockerfile
+++ b/cdn/Dockerfile
@@ -1,14 +1,7 @@
-FROM node:lts-alpine AS builder
-
-WORKDIR /usr/src/util
-
-COPY util .
-RUN npm install && npm run build
-
-WORKDIR /usr/src/cdn
-
-COPY cdn/ .
-RUN npm install && npm run build
-
-EXPOSE 3001
-CMD ["node", "dist/start.js"]
+FROM node:lts-alpine
+WORKDIR /usr/src/fosscord-cdn
+COPY package.json .
+RUN npm install
+COPY . .
+EXPOSE 3003
+CMD ["node", "dist/"]
\ No newline at end of file