chaged the docker file
This commit is contained in:
@@ -5,10 +5,10 @@ WORKDIR /app
|
||||
COPY package.json .
|
||||
|
||||
RUN npm install
|
||||
|
||||
RUN npm install -g serve
|
||||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["npm", "run", "dev"]
|
||||
CMD ["serve", "-s", "dist", "-l", "3000"]
|
Reference in New Issue
Block a user