mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Fixing website build after versioned docs upgrade (#1553)
Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com>
This commit is contained in:
parent
535a705efe
commit
2132317d1b
@ -1,19 +1,19 @@
|
||||
# Copyright (c) The OpenTofu Authors
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
# Copyright (c) 2023 HashiCorp, Inc.
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
# 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
|
||||
RUN git clone --recurse-submodules https://github.com/opentofu/opentofu.org /work
|
||||
|
||||
FROM node
|
||||
COPY --from=parent /work /work
|
||||
WORKDIR /work
|
||||
RUN npm i
|
||||
|
||||
VOLUME /work/opentofu-repo
|
||||
VOLUME /work/opentofu-repo/main
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["npm", "run", "start", "--", "--host","0.0.0.0"]
|
||||
|
@ -1,8 +1,8 @@
|
||||
# Copyright (c) The OpenTofu Authors
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
# Copyright (c) 2023 HashiCorp, Inc.
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
# Copyright (c) The OpenTofu Authors
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
# Copyright (c) 2023 HashiCorp, Inc.
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
version: '3.8'
|
||||
services:
|
||||
website:
|
||||
@ -10,7 +10,7 @@ services:
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- ../:/work/opentofu-repo
|
||||
- ../:/work/opentofu-repo/main
|
||||
command:
|
||||
- npm
|
||||
- run
|
||||
|
@ -1,8 +1,8 @@
|
||||
# Copyright (c) The OpenTofu Authors
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
# Copyright (c) 2023 HashiCorp, Inc.
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
# Copyright (c) The OpenTofu Authors
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
# Copyright (c) 2023 HashiCorp, Inc.
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
version: '3.8'
|
||||
services:
|
||||
website:
|
||||
@ -10,4 +10,4 @@ services:
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- ../:/work/opentofu-repo
|
||||
- ../:/work/opentofu-repo/main
|
||||
|
Loading…
Reference in New Issue
Block a user