Spaces:
Runtime error
Runtime error
File size: 316 Bytes
70cf894 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
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
|