mirror of
https://github.com/maciejpedzich/cats-album.git
synced 2024-11-27 14:25:47 +01:00
10 lines
179 B
Docker
10 lines
179 B
Docker
FROM node:lts-alpine AS build
|
|
WORKDIR /app
|
|
COPY . .
|
|
RUN npm i
|
|
RUN npm run build
|
|
|
|
FROM httpd:2.4-alpine AS runtime
|
|
COPY --from=build /app/dist /usr/local/apache2/htdocs/
|
|
EXPOSE 80
|