-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix-algo-credentials
- Loading branch information
Showing
1 changed file
with
10 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,26 +2,25 @@ | |
## Copyright 2023 Ocean Protocol Foundation | ||
## SPDX-License-Identifier: Apache-2.0 | ||
## | ||
FROM ubuntu:18.04 | ||
FROM python:3.8-slim-buster | ||
LABEL maintainer="Ocean Protocol <[email protected]>" | ||
|
||
ARG VERSION | ||
|
||
RUN apt-get update && \ | ||
apt-get install --no-install-recommends -y \ | ||
gcc \ | ||
python3.8 \ | ||
python3-pip \ | ||
python3.8-dev \ | ||
gettext-base | ||
apt-get install --no-install-recommends -y \ | ||
build-essential \ | ||
gcc \ | ||
gettext-base && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
COPY . /ocean-provider | ||
WORKDIR /ocean-provider | ||
|
||
RUN python3.8 -m pip install --upgrade pip | ||
RUN python3.8 -m pip install setuptools | ||
RUN python3.8 -m pip install wheel | ||
RUN python3.8 -m pip install . | ||
# Install dependencies in a virtual environment | ||
RUN python3.8 -m pip install --no-cache-dir setuptools wheel && \ | ||
python3.8 -m pip install --no-cache-dir . | ||
|
||
ENV NETWORK_URL='http://127.0.0.1:8545' | ||
|
||
|