Dockerfile add docker run

This commit is contained in:
infidel 2022-11-25 18:07:24 +07:00
parent f4b4920808
commit 0c7266d4a9

View File

@ -3,9 +3,9 @@ WORKDIR /usr/src/app
COPY package*.json /usr/src/app COPY package*.json /usr/src/app
RUN npm install RUN npm install
COPY . /usr/src/app COPY . /usr/src/app
RUN npm build RUN npm run build
RUN npm build:tailwind RUN npm run build:tailwind
RUN npm build:fontawesome RUN npm run build:fontawesome
EXPOSE 5000 EXPOSE 5000
CMD ["npm", "start"] CMD ["npm", "start"]