1
0
mirror of https://github.com/bndw/wifi-card.git synced 2024-12-24 10:06:42 +02:00
wifi-card/Dockerfile
Ben Woodward f82c096aeb
Only run Prettier on ./src (#55)
* Move base stylesheet input public

* Only run prettier on ./src
2021-07-15 14:44:00 -07:00

13 lines
217 B
Docker

FROM mhart/alpine-node:14 as builder
WORKDIR /tmp
COPY . .
RUN npx prettier --check ./src
RUN yarn && yarn build
###
# production image
FROM nginx:stable-alpine
COPY --from=builder /tmp/build /usr/share/nginx/html