mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-14 06:32:36 +01:00
15 lines
212 B
Docker
15 lines
212 B
Docker
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"]
|