diff --git a/.lagoon.yml b/.lagoon.yml new file mode 100644 index 000000000..91a9bd52d --- /dev/null +++ b/.lagoon.yml @@ -0,0 +1 @@ +docker-compose-yaml: .lagoon/docker-compose.yml diff --git a/.lagoon/docker-compose.yml b/.lagoon/docker-compose.yml new file mode 100644 index 000000000..b571da368 --- /dev/null +++ b/.lagoon/docker-compose.yml @@ -0,0 +1,18 @@ +version: '2.3' + +x-lagoon-project: + &lagoon-project druxtjs-org + +x-environment: + &default-environment + LAGOON_PROJECT: *lagoon-project + +services: + app: + build: + context: ../docs + dockerfile: Dockerfile + labels: + lagoon.type: node + ports: + - "3000:3000" diff --git a/docs/Dockerfile b/docs/Dockerfile new file mode 100644 index 000000000..ebdd581b4 --- /dev/null +++ b/docs/Dockerfile @@ -0,0 +1,12 @@ +FROM amazeeio/node:14 + +COPY . /app/ +RUN yarn + +# Build Nuxt codebase. +RUN yarn generate + +ENV HOST 0.0.0.0 +EXPOSE 3000 + +CMD ["yarn", "start"]