1
0
forked from jchomaz/Vulture
Files
Vulture/VContainers/VApp/Containerfile

18 lines
411 B
Docker

#FROM docker.io/nginx:stable-alpine
FROM docker.io/node:lts-alpine AS builder
## Bundle APP files
WORKDIR /app
COPY VApp ./
RUN npm install
RUN npm run build
FROM docker.io/nginx:stable-alpine
RUN rm /etc/nginx/conf.d/default.conf
COPY ./VContainers/VApp/nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=builder /app/dist /usr/share/nginx/html
EXPOSE 80
# CMD ["npm","run","dev"]
#CMD ["sleep", "1000"]