Docker file fix

This commit is contained in:
infidel 2022-11-25 17:47:09 +07:00
parent ff0053a6e3
commit 9c22e7150d

View File

@ -1,6 +1,11 @@
FROM node:18
WORKDIR /usr/src/app
RUN npm install:clean
COPY package*.json /usr/src/app
RUN npm install
COPY . /usr/src/app
RUN npm build
RUN npm build:tailwind
RUN npm build:fontawesome
EXPOSE 5000
CMD ["npm", "start"]