Skip to content

Commit

Permalink
fix: eb dir -> ecs dir (#524)
Browse files Browse the repository at this point in the history
* Revert "refactor: remove eb files (#518)"

This reverts commit cbe3e1e.

* fix: eb -> ecs

* more stuff
  • Loading branch information
ebezzi authored Oct 28, 2022
1 parent 64fad93 commit 847141d
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
bin
dist
docs
/client/node_modules
/client/node_modules
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ server/common/web/static/*
server/common/web/templates/
server/common/web/csp-hashes.json

# ecs build
artifact.dir
artifact.zip
customize

# Jupyter Notebook
.ipynb_checkpoints
*.ipynb
Expand Down
2 changes: 1 addition & 1 deletion hosted/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RUN make build-client
ADD server/ server/
RUN mkdir -p /server/common/web/templates/

WORKDIR server/
WORKDIR server/ecs
RUN make build-ecs
WORKDIR /

Expand Down
2 changes: 1 addition & 1 deletion hosted/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

nginx

gunicorn --worker-class gevent --bind 0.0.0.0:4555 server.app:application --timeout 60
gunicorn --worker-class gevent --bind 0.0.0.0:4555 server.ecs.app:application --timeout 60
8 changes: 0 additions & 8 deletions server/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,3 @@ e2e:
--start-directory tests/e2e \
--top-level-directory .. \
--verbose; test_result=$$?; \


# Bundles the application so that it can be dockerized and run in ECS
.PHONY: build-ecs
build-ecs:
$(call copy_client_assets,/../client/build,/../server/common/web) ; \
cp /../client/build/index.html /../server/common/web/templates/index.html ; \
cp -r /../client/build/* /../server/common/web/. ;

0 comments on commit 847141d

Please sign in to comment.