mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-13 01:22:05 -06:00
a27f1b48ba
Signed-off-by: Janos Bonic <86970079+janosdebugs@users.noreply.github.com>
15 lines
275 B
Docker
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"]
|