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.
2022-04-07 10:59:20 +00:00
|
|
|
FROM node:16.14.2-alpine
|
|
|
|
|
|
|
|
WORKDIR /usr/app
|
|
|
|
|
2022-04-07 13:16:25 +00:00
|
|
|
COPY package.json yarn.lock ./
|
2022-04-07 10:59:20 +00:00
|
|
|
|
|
|
|
RUN yarn --frozen-lockfile
|
|
|
|
|
2022-04-07 13:16:25 +00:00
|
|
|
COPY static ./static
|
|
|
|
COPY src ./src
|
|
|
|
COPY gatsby*.js ./
|
|
|
|
COPY postcss.config.js tailwind.config.js ./
|
2022-04-07 10:59:20 +00:00
|
|
|
|
2022-04-07 13:16:25 +00:00
|
|
|
CMD ["sh", "-c", "yarn build && yarn serve --host 0.0.0.0 -p 9000"]
|