maciejpedzi.ch/Dockerfile

13 lines
299 B
Docker
Raw Permalink Normal View History

2024-02-23 14:13:41 +01:00
FROM node:lts-alpine AS build
WORKDIR /app
COPY . .
RUN npm i
RUN npm run build
FROM httpd:2.4-alpine AS runtime
2024-08-21 00:38:53 +02:00
ENV TZ Europe/Warsaw
RUN apk add --no-cache tzdata
2024-08-16 09:49:51 +02:00
COPY --from=build /app/httpd.conf /usr/local/apache2/conf/httpd.conf
2024-02-23 14:13:41 +01:00
COPY --from=build /app/dist /usr/local/apache2/htdocs/
EXPOSE 80