refactor: code refactor

This commit is contained in:
Andrea
2023-03-02 08:43:46 +01:00
parent bd16bc4fcf
commit b0672af566
7 changed files with 230 additions and 942 deletions

View File

@@ -1,9 +1,13 @@
FROM node:alpine
COPY . /src
WORKDIR /app
WORKDIR /src
COPY ./package*.json /app
RUN npm install && npm run build
RUN npm install
COPY . /app
RUN npm run build
CMD ["npm", "run", "start"]