Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed poetry in favor of pip, using node 18 #14

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:17
FROM node:18

# Create app directory
WORKDIR /usr/src/app
Expand All @@ -10,11 +10,9 @@ RUN apt-get update && \
# A wildcard is used to ensure both package.json AND package-lock.json are copied
# where available (npm@5+)
COPY package*.json ./
COPY pyproject.toml ./
COPY requirements.txt ./

RUN pip install poetry
RUN pip install esridump
RUN poetry install
RUN pip install -r requirements.txt --break-system-packages
RUN npm install
RUN npm install -g mapshaper
RUN git clone https://github.com/mapbox/tippecanoe.git
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
stdin_open: true
tty: true
ports:
- 8080:8080
- 8081:8080
volumes:
- .:/usr/src/app
- chicago-elections-archive-modules:/usr/src/app/node_modules
Expand Down
Loading