opentofu/website/Dockerfile
Janos a27f1b48ba
website: Dev server (#971)
Signed-off-by: Janos Bonic <86970079+janosdebugs@users.noreply.github.com>
2023-12-05 13:01:53 +00:00

15 lines
275 B
Docker

FROM alpine AS parent
RUN apk add git
RUN git clone https://github.com/opentofu/opentofu.org /work
FROM node
COPY --from=parent /work /work
WORKDIR /work
RUN npm i
VOLUME /work/opentofu-repo
EXPOSE 3000
CMD ["npm", "run", "start", "--", "--host","0.0.0.0"]