Skip to content
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
18 changes: 18 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM python:3.8-slim-bullseye

LABEL maintainer "DataMade <info@datamade.us>"

RUN apt update && apt install -y gcc g++

RUN mkdir /app
WORKDIR /app

# Copy the contents of the current host directory (i.e., our app code) into
# the container.
COPY . /app

RUN pip install -e .

RUN pip install -r requirements-dev.txt
RUN pip install -r requirements-examples.txt

9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
services:
app:
platform: linux/amd64
image: entity-embed
container_name: entity-embed
build: .
ports:
- 8888:8888
command: jupyter notebook --allow-root --ip=0.0.0.0 --NotebookApp.token='' --NotebookApp.password=''
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ pytorch-metric-learning>=0.9.98,<1.0
regex>=2020.11.13
torch>=1.7.1,<1.9
torchtext>=0.8,<0.10
torchvision>=0.8.2<0.10
torchvision>=0.8.2,<0.10
tqdm>=4.53.0
six
Loading