-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
JAlcocerT
committed
Jul 23, 2024
1 parent
5f28fad
commit 1439a56
Showing
8 changed files
with
582 additions
and
518 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
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
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
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
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 |
---|---|---|
@@ -1 +1,55 @@ | ||
FROM python:3.10.12 | ||
FROM python:3.10.12 | ||
#https://hub.docker.com/_/python | ||
|
||
# LABEL org.opencontainers.image.source https://github.com/JAlcocerT/Streamlit-MultiChat | ||
# LABEL maintainer="Jesus Alcocer Tagua" | ||
|
||
# Copy local code to the container image. | ||
ENV APP_HOME /app | ||
WORKDIR $APP_HOME | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
build-essential \ | ||
curl \ | ||
software-properties-common \ | ||
git \ | ||
nano \ | ||
g++ | ||
# \ | ||
# && rm -rf /var/lib/apt/lists/* | ||
|
||
# Install Miniconda | ||
# RUN curl -Lo miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \ | ||
# && sh miniconda.sh -b -p /miniconda \ | ||
# && rm miniconda.sh | ||
|
||
# ENV PATH=/miniconda/bin:${PATH} | ||
|
||
COPY . ./ | ||
|
||
# Install production dependencies. | ||
RUN pip install -r requirements.txt | ||
|
||
EXPOSE 8501 | ||
|
||
# docker build -t py_test_310 . | ||
# podman build -t py_test_310 . | ||
|
||
|
||
#docker exec -it py_3_10 /bin/bash | ||
#podman exec -it py_3_10 /bin/bash | ||
|
||
export GROQ_API_KEY= | ||
export GROQ_API_KEY= | ||
|
||
# version: '3.8' | ||
|
||
# services: | ||
# my_python_dev_container: | ||
# image: py_test_310 #python:3.10 | ||
# container_name: py_3_10 | ||
# ports: | ||
# - "8701:8501" | ||
# working_dir: /app | ||
# #command: python3 app.py | ||
# command: tail -f /dev/null #keep it running |
Oops, something went wrong.