Skip to content
This repository has been archived by the owner on Jan 24, 2020. It is now read-only.

Commit

Permalink
gatsby docker
Browse files Browse the repository at this point in the history
  • Loading branch information
AurelienLavorel committed Nov 16, 2019
1 parent e5a9e41 commit bda94ed
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docker-compose.yml
Expand Up @@ -47,6 +47,21 @@ services:
traefik.docker.network: "traefik"
traefik.frontend.rule: "Host:pma.sylius.test"

gatsby:
build: docker/gatsby
expose:
- 8000
ports:
- 8000
volumes:
- ./gatsby:/home/gatsby
- ./sylius:/home/sylius
command: tail -f /dev/null
labels:
traefik.docker.network: "traefik"
traefik.frontend.rule: "Host:gatsby.test"
traefik.port: "8000"

volumes:
db-data:
driver: local
Expand Down
4 changes: 4 additions & 0 deletions docker/gatsby/Dockerfile
@@ -0,0 +1,4 @@
FROM node:8-alpine

RUN apk add git
RUN npm install -g gatsby

0 comments on commit bda94ed

Please sign in to comment.