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/Dockerfile

17 lines
330 B
Docker
Raw Normal View History

2021-02-09 10:34:33 +00:00
FROM node:15.8.0-alpine
2021-02-03 14:06:44 +00:00
WORKDIR /usr/app
2021-02-20 16:08:25 +00:00
COPY package.json .
ENV NEXT_TELEMETRY_DISABLED 1
RUN yarn --no-lockfile
2021-02-03 14:06:44 +00:00
COPY public ./public
COPY src ./src
COPY styles ./styles
COPY postcss.config.js .
COPY tailwind.config.js .
2021-02-24 14:11:47 +00:00
CMD ["sh", "-c", "env | grep -E 'NEXT_PUBLIC|KRATOS|STRIPE' > .env.local && yarn build && yarn start"]