Skip to content

Commit

Permalink
fix requirements, docker compose, frontend image
Browse files Browse the repository at this point in the history
  • Loading branch information
luiztauffer committed Oct 3, 2023
1 parent 23fe4f4 commit ab07579
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
3 changes: 2 additions & 1 deletion containers/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ requests
fsspec
aiohttp
threadpoolctl==3.2.0 # https://stackoverflow.com/a/72840515/11483674
Flask[async]==2.2.3
Flask[async]==2.3.3
Werkzeug==2.3.7
pydantic[email]==1.10.12
pynwb==2.5.0
spikeinterface[full]==0.98.2
Expand Down
7 changes: 2 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ services:
- "3000:3000"
environment:
DEPLOY_MODE: compose
volumes:
- ./frontend:/app
depends_on:
- rest

Expand All @@ -24,9 +22,9 @@ services:
AWS_DEFAULT_REGION: ${AWS_DEFAULT_REGION}
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}
AWS_BATCH_JOB_QUEUE: ${AWS_BATCH_JOB_QUEUE}
AWS_BATCH_JOB_DEFINITION: ${AWS_BATCH_JOB_DEFINITION}
DANDI_API_KEY: ${DANDI_API_KEY}
volumes:
- ./rest:/app
depends_on:
- database

Expand All @@ -41,7 +39,6 @@ services:
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}
volumes:
- ./containers:/app
- ./results:/results
- ./logs:/logs
runtime: nvidia
Expand Down
3 changes: 2 additions & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Dockerfile for the frontend
FROM node:16-alpine
FROM node:19.2-bullseye-slim

WORKDIR /app

COPY package*.json ./
COPY yarn.lock ./
RUN yarn install

COPY . ./
Expand Down

0 comments on commit ab07579

Please sign in to comment.