Skip to content

Commit

Permalink
Merge pull request #125 from stjudecloud/build/local-dev
Browse files Browse the repository at this point in the history
build: adds local docker compose environment
  • Loading branch information
kevin-benton authored Sep 27, 2024
2 parents d3f35f0 + 959ecbc commit 48f8cc8
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM node:15-buster

ENV NODE_ENV=development
RUN apt-get update && apt-get install -y libvips-dev

WORKDIR /app
19 changes: 19 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: "3"

services:
university:
build:
context: .
platform: linux/amd64
ports:
- 8000:8000
volumes:
- .:/app:cached
command: npm start

cli:
build:
context: .
platform: linux/amd64
volumes:
- .:/app:cached

0 comments on commit 48f8cc8

Please sign in to comment.