mirror of
https://github.com/FranP-code/spend-ia.git
synced 2025-10-13 00:14:09 +00:00
feat: added monorepo
This commit is contained in:
17
packages/client/Dockerfile
Normal file
17
packages/client/Dockerfile
Normal 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"
|
||||
Reference in New Issue
Block a user