Revert "fix: make the CDN build correctly"

This reverts commit 79aae987fd.
This commit is contained in:
Flam3rboy
2021-10-18 14:38:34 +02:00
parent 435e67b7a9
commit dc22db6902
8 changed files with 5586 additions and 5669 deletions
+7 -14
View File
@@ -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/"]