fix dockerfile
This commit is contained in:
@@ -5,8 +5,7 @@ WORKDIR /app
|
||||
COPY package.json ./
|
||||
COPY package-lock.json ./
|
||||
RUN npm install
|
||||
COPY . ./
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx:latest
|
||||
COPY --from=build /app/build /usr/share/nginx/html
|
||||
EXPOSE 3000
|
||||
CMD ["node", "build/index.js"]
|
||||
Reference in New Issue
Block a user