mirror of
https://github.com/bndw/wifi-card.git
synced 2024-12-24 10:06:42 +02:00
f82c096aeb
* Move base stylesheet input public * Only run prettier on ./src
13 lines
217 B
Docker
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
|