Spaces:
Build error
Build error
Pietro Lesci
commited on
Commit
·
c7908b4
1
Parent(s):
fe6fef8
docker
Browse files- Dockerfile +3 -3
- Makefile +1 -1
Dockerfile
CHANGED
|
@@ -4,8 +4,8 @@
|
|
| 4 |
|
| 5 |
FROM continuumio/miniconda3:4.8.2 AS main
|
| 6 |
|
| 7 |
-
RUN apt-get -y update && \
|
| 8 |
-
|
| 9 |
RUN conda update -n base -c defaults conda
|
| 10 |
|
| 11 |
# chown changes owner from root owner (1000) to the first user inside the env (100)
|
|
@@ -16,7 +16,7 @@ RUN conda install --force-reinstall -y -q --name base pip
|
|
| 16 |
COPY . /var/app/
|
| 17 |
# WORKDIR /var/dev
|
| 18 |
WORKDIR /var/app
|
| 19 |
-
RUN pip install -r requirements.txt
|
| 20 |
CMD streamlit run ./app.py
|
| 21 |
|
| 22 |
###############################################################################
|
|
|
|
| 4 |
|
| 5 |
FROM continuumio/miniconda3:4.8.2 AS main
|
| 6 |
|
| 7 |
+
# RUN apt-get -y update && \
|
| 8 |
+
# apt-get -y install build-essential
|
| 9 |
RUN conda update -n base -c defaults conda
|
| 10 |
|
| 11 |
# chown changes owner from root owner (1000) to the first user inside the env (100)
|
|
|
|
| 16 |
COPY . /var/app/
|
| 17 |
# WORKDIR /var/dev
|
| 18 |
WORKDIR /var/app
|
| 19 |
+
RUN pip install -r dev-requirements.txt
|
| 20 |
CMD streamlit run ./app.py
|
| 21 |
|
| 22 |
###############################################################################
|
Makefile
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
|
| 4 |
# Docker image build info
|
| 5 |
PROJECT:=wordify
|
| 6 |
-
BUILD_TAG?=v0.1
|
| 7 |
|
| 8 |
ALL_IMAGES:=src
|
| 9 |
|
|
|
|
| 3 |
|
| 4 |
# Docker image build info
|
| 5 |
PROJECT:=wordify
|
| 6 |
+
BUILD_TAG?=v0.1
|
| 7 |
|
| 8 |
ALL_IMAGES:=src
|
| 9 |
|