mirror of
https://github.com/ad044/lainTSX.git
synced 2024-10-22 15:09:05 +00:00
19 lines
No EOL
249 B
Docker
19 lines
No EOL
249 B
Docker
FROM node:15.12.0-alpine AS builder
|
|
|
|
WORKDIR /app
|
|
|
|
COPY scripts/ ./scripts
|
|
COPY package-lock.json .
|
|
COPY package.json .
|
|
|
|
RUN npm i
|
|
|
|
COPY . .
|
|
|
|
RUN npm run build
|
|
|
|
RUN ls build/
|
|
|
|
FROM nginx:alpine
|
|
|
|
COPY --from=builder /app/build/ /usr/share/nginx/html/ |