mirror of
https://github.com/remvze/moodist.git
synced 2025-08-30 23:00:22 -04:00
13 lines
277 B
Docker
13 lines
277 B
Docker
FROM docker.io/node:20-alpine3.18 AS build
|
|
WORKDIR /app
|
|
COPY package*.json ./
|
|
RUN npm install
|
|
COPY . .
|
|
RUN npm run build
|
|
|
|
FROM docker.io/nginx:alpine AS runtime
|
|
COPY ./docker/nginx/nginx.conf /etc/nginx/nginx.conf
|
|
COPY --from=build /app/dist /usr/share/nginx/html
|
|
|
|
EXPOSE 8080
|