Commit 5f3f3f0c authored by Yori Fournier's avatar Yori Fournier
Browse files

first commit

parent a63c40a4
# base image
FROM python:3.7
#Upgrade pip
RUN pip install --upgrade pip
# copy over and install packages
COPY requirements.txt /tmp
RUN pip install -r /tmp/requirements.txt
# create non-root user
ARG UNAME=stuser
ARG UID=1000
ARG GID=1000
RUN groupadd -g $GID -o $UNAME
RUN useradd -m -u $UID -g $GID -o -s /bin/bash $UNAME
RUN mkdir -p /home/${UNAME}
RUN chown -R ${UID}:${GID} /home/${UNAME}
USER ${UID}:${GID}
WORKDIR /home/${UNAME}
# exposing default port for streamlit
EXPOSE 8501
# copying everything over
COPY . .
# run app
CMD python3 submit-request.py
import pyvo as vo
import sunpy as sp
print('DONE')
exit(0)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment