feat(dockerFile): ready

This commit is contained in:
alexmorenograu 2021-09-10 08:46:09 +02:00
parent 8353a3473e
commit d9cbb56558
1 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
FROM node
WORKDIR /app
COPY db db
COPY methods methods
COPY utilities utilities
COPY package.json ./
COPY server.js ./
COPY config.js ./
RUN npm install
CMD "node server.js"
CMD ["node", "server.js"]