1
0
mirror of https://github.com/bndw/wifi-card.git synced 2024-12-24 10:06:42 +02:00
wifi-card/Dockerfile

13 lines
217 B
Docker
Raw Normal View History

FROM mhart/alpine-node:14 as builder
WORKDIR /tmp
COPY . .
RUN npx prettier --check ./src
RUN yarn && yarn build
###
# production image
2020-05-30 21:33:16 +02:00
FROM nginx:stable-alpine
COPY --from=builder /tmp/build /usr/share/nginx/html