opentofu/website/Dockerfile
namgyalangmo cb2e9119aa
Update copyright notice (#1232)
Signed-off-by: namgyalangmo <75657887+namgyalangmo@users.noreply.github.com>
2024-02-08 09:48:59 +00:00

20 lines
420 B
Docker

# Copyright (c) The OpenTofu Authors
# SPDX-License-Identifier: MPL-2.0
# Copyright (c) 2023 HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
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"]