Dockerfile add docker run
This commit is contained in:
parent
f4b4920808
commit
0c7266d4a9
@ -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"]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user