17 lines
326 B
Docker
17 lines
326 B
Docker
FROM node:25-alpine AS builder
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package.json package-lock.json ./
|
|
RUN npm ci
|
|
|
|
COPY . .
|
|
RUN node /app/node_modules/.bin/expo export --platform web --output-dir dist-web
|
|
|
|
FROM nginx:1.27-alpine
|
|
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
COPY --from=builder /app/dist-web /usr/share/nginx/html
|
|
|
|
EXPOSE 80
|