mirror of
https://github.com/opentofu/opentofu.org.git
synced 2026-01-11 19:56:26 +00:00
This commit adds a build container to make it easier for people without NodeJS/npm to run the website locally. Signed-off-by: Janos Bonic <86970079+janosdebugs@users.noreply.github.com>
8 lines
154 B
Docker
8 lines
154 B
Docker
FROM node:18
|
|
|
|
WORKDIR /work
|
|
COPY package.json /work
|
|
COPY package-lock.json /work
|
|
RUN npm i
|
|
|
|
CMD ["npm", "run", "start", "--", "--host","0.0.0.0"]
|