12345678910111213141516171819202122 |
- FROM node:16
- COPY package.json .
- RUN yarn global add gatsby-cli
- RUN yarn install
- #COPY gatsby-config.js .
- # Optionally, copy your .env file to the container filesystem
- #COPY .env .
- #WORKDIR /usr/src/app
- WORKDIR /workspace
- EXPOSE 8000
- CMD ["gatsby", "develop", "--verbose"]
- #CMD ["/bin/bash"]
- #CMD ["gatsby", "develop", "-H", "0.0.0.0","--verbose"]
-
|