fix dockerfle
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
FROM node:latest
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN npm install
|
||||
RUN npm install && npm run build
|
||||
EXPOSE 5173
|
||||
CMD ["npm", "run", "dev"]
|
||||
CMD ["npm", "run", "preview", "--host"]
|
||||
Reference in New Issue
Block a user