mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-12 15:52:56 +10:00
12 lines
238 B
Docker
12 lines
238 B
Docker
FROM node as builder
|
|
|
|
WORKDIR /app
|
|
COPY ./ /app/
|
|
|
|
RUN npm install
|
|
RUN npm run build
|
|
|
|
FROM nginx:alpine
|
|
RUN rm -rf /usr/share/nginx/html
|
|
COPY --from=builder /app/public/ /usr/share/nginx/html
|
|
COPY server.conf /etc/nginx/conf.d/default.conf |