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 84feeb9
Show file tree
Hide file tree
Showing 3 changed files with 24 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
12 changes: 12 additions & 0 deletions .lagoon/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"]
11 changes: 11 additions & 0 deletions .lagoon/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: '2.3'

services:
app:
build:
context: ../docs
dockerfile: ../.lagoon/Dockerfile
labels:
lagoon.type: node
ports:
- "3000:3000"

0 comments on commit 84feeb9

Please sign in to comment.