Newer
Older
percord / Dockerfile
@Paul Munteanu Paul Munteanu on 29 May 2021 177 bytes Dockerfile: run app instead of recompiling
FROM node:lts-alpine
WORKDIR /usr/src/fosscord-api
COPY package.json .
RUN npm install
RUN npx patch-package
COPY . .
EXPOSE 3001
RUN npm run build
CMD ["node", "dist/start.js"]