13 lines
No EOL
230 B
Docker
13 lines
No EOL
230 B
Docker
FROM node:lts AS build
|
|
|
|
WORKDIR /app
|
|
COPY package.json yarn.lock ./
|
|
RUN yarn install
|
|
|
|
COPY . ./
|
|
RUN yarn build
|
|
|
|
FROM nginx:1.25-alpine3.18
|
|
COPY --from=build /app/build /app
|
|
COPY data /app/data
|
|
COPY nginx.conf /etc/nginx/nginx.conf |