Spaces:
Runtime error
Runtime error
from node:18-alpine | |
WORKDIR /app | |
COPY . . | |
COPY package.json package-lock.json | |
RUN npm install | |
COPY . . | |
RUN npm run build | |
EXPOSE 3000 | |
CMD ["node", "build"] | |
# RUN npm install | |
# RUN npm run build | |
# WORKDIR /app | |
# RUN rm -rf ./* | |
# COPY --from=build /app/package.json . | |
# COPY --from=build /app/build . | |
# RUN npm run | |