Skip to content

Instantly share code, notes, and snippets.

@ashemag
Created November 18, 2021 00:43
Show Gist options
  • Save ashemag/89102ba8dc175aa7128ec125872664b6 to your computer and use it in GitHub Desktop.
Save ashemag/89102ba8dc175aa7128ec125872664b6 to your computer and use it in GitHub Desktop.
# specify base image
FROM tensorflow/tensorflow:latest-py3
# create directory to organize files in and enter dir
WORKDIR /app
COPY requirements.txt .
RUN pip3 install -r requirements.txt
RUN pip3 install --upgrade protobuf
COPY . .
ENV PYTHONPATH="/app"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment