Skip to content

Commit

Permalink
chore(#181): add Lagoon and docker files
Browse files Browse the repository at this point in the history
  • Loading branch information
Decipher committed Aug 31, 2021
1 parent 30b3be3 commit 7d3574d
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions .lagoon.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docker-compose-yaml: .lagoon/docker-compose.yml
18 changes: 18 additions & 0 deletions .lagoon/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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"
12 changes: 12 additions & 0 deletions docs/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit 7d3574d

Please sign in to comment.