feat: added monorepo

This commit is contained in:
2023-07-02 02:20:41 -03:00
parent db0d493944
commit c67dead763
38 changed files with 810 additions and 96 deletions

View File

@@ -0,0 +1,17 @@
FROM node:18
WORKDIR /app
COPY package.json ./
RUN yarn
COPY . .
ENV NODE_ENV=$NODE_ENV
EXPOSE 3000
# CMD print "abc"
CMD sh -c "if [ '$NODE_ENV' = 'development' ]; then yarn dev; else yarn start; fi"