Files
wehub-resource-sync f4ff771c12
Deploy / deploy-production (push) Failing after 2s
Test / test (push) Failing after 1s
Build / build (push) Failing after 3m27s
chore: import upstream snapshot with attribution
2026-07-13 12:31:37 +08:00

10 lines
240 B
Docker

FROM node:16-alpine as build
WORKDIR /app
COPY . .
RUN npm i
RUN npm run build
FROM nginx:stable-alpine
EXPOSE 3000
COPY --from=build /app/build /usr/share/nginx/html
COPY --from=build /app/nginx/default.conf /etc/nginx/conf.d/default.conf