Skip to content

Commit

Permalink
Update Airship
Browse files Browse the repository at this point in the history
  • Loading branch information
mbforr committed Nov 30, 2018
1 parent 7f02a42 commit bd9fceb
Show file tree
Hide file tree
Showing 10 changed files with 137 additions and 673 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
dist
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM node:v9.3.0

EXPOSE 8080

WORKDIR /bindmount

COPY package-lock.json package.json ./

RUN yarn

RUN npm rebuild node-sass

CMD yarn run dev
15 changes: 15 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: "3"

services:
frontend:
image: webpack
build:
context: ./
ports:
- 8080:8080
volumes:
- ./:/bindmount:rw
- node_modules:/src/node_modules

volumes:
node_modules:
3 changes: 3 additions & 0 deletions docker_notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
docker build -t isthmus-react .

docker run -it --rm --name isthmus-react isthmus-react
24 changes: 12 additions & 12 deletions public/dist/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/dist/bundle.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/dist/style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/dist/style.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/data/layers/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import railaccidents from './railaccidents';
// import usstates from './usstates';
import usstates from './usstates';

// import neighbourhoods from './neighbourhoods';

Expand Down
Loading

0 comments on commit bd9fceb

Please sign in to comment.