Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vangheem committed Jan 22, 2021
1 parent 8b929fd commit 94e800f
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 14 deletions.
10 changes: 10 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
app
lib
bin
.pytest-cache
.vscode
cov.pem
coverage.xml
.env.dev
htmlcov
conf
8 changes: 5 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
.coverage
build/
downloads/
fs/
image/
pdf/
*.swp
.mypy_cache/
.env.dev
cov.pem
.vscode
coverage.xml
htmlcov
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,4 @@ RUN make install

EXPOSE 5000

RUN mkdir /conf
CMD ["make", "run"]
3 changes: 2 additions & 1 deletion app/.dockerignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
node_modules

9 changes: 0 additions & 9 deletions build.yaml

This file was deleted.

13 changes: 13 additions & 0 deletions conf/nginx-templates/default.conf.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
server {
listen 80;
listen [::]:80;

server_name _;

location / {
proxy_pass http://frontend:3000;
}
location /api {
proxy_pass http://api:8000/api;
}
}

0 comments on commit 94e800f

Please sign in to comment.