This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
skynet-webportal/packages/dashboard-v2/Dockerfile

17 lines
426 B
Docker
Raw Normal View History

FROM node:16.14.2-alpine
WORKDIR /usr/app
2022-04-07 12:47:49 +00:00
COPY packages/dashboard-v2/package.json packages/dashboard-v2/yarn.lock ./
RUN yarn --frozen-lockfile
2022-04-07 12:47:49 +00:00
COPY packages/dashboard/static ./static
COPY packages/dashboard/src ./src
COPY packages/dashboard/gatsby*.js ./
COPY packages/dashboard/postcss.config.js \
packages/dashboard/tailwind.config.js \
./
CMD ["sh", "-c", "yarn build && yarn serve --host 0.0.0.0 -p 9000"]