Docker file fix
This commit is contained in:
parent
ff0053a6e3
commit
9c22e7150d
@ -1,6 +1,11 @@
|
|||||||
FROM node:18
|
FROM node:18
|
||||||
WORKDIR /usr/src/app
|
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
|
EXPOSE 5000
|
||||||
CMD ["npm", "start"]
|
CMD ["npm", "start"]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user