node-api-template/Dockerfile.development

22 lines
299 B
Docker
Raw Normal View History

2024-07-03 18:52:30 +00:00
FROM node:20-alpine
WORKDIR /app
COPY package.json .
COPY package-lock.json .
RUN npm install --silent
COPY src ./src
COPY public ./public
COPY db ./db
COPY configs ./configs
COPY bin ./bin
COPY tsconfig.json .
COPY .env.development .
COPY .sequelizerc .
EXPOSE 3000
CMD ["npm", "run", "dev"]