Skip to content
Snippets Groups Projects
Commit 1d57cf8a authored by linsherpa's avatar linsherpa
Browse files

Update file Dockerfile

parent 4f634d6b
No related branches found
No related tags found
No related merge requests found
FROM ubuntu:22.04
RUN apt-get update && \
apt-get install -y apt-utils && \
apt-get -y install systemd && \
apt-get -y install vim && \
apt-get install -qy curl && \
apt-get install -y nodejs && \
apt-get install -y docker.io && \
apt-get install -y python3-pip && \
apt clean -y && \
apt autoclean -y
ENV THREAD=4
ENV CPU=4
RUN mkdir /app
RUN mkdir /app/credentials
RUN mkdir /app/logs
RUN mkdir /app/static
RUN mkdir /app/templates
WORKDIR /app
COPY credentials /app/credentials
COPY logs /app/logs
COPY static /app/static
COPY templates /app/templates
COPY requirements.txt /app/
COPY nfdi4chem_ms_converter_GUI.py /app
RUN chmod 777 -R /tmp
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 5000
CMD ["sh", "-c", "uwsgi --http-socket :5000 --master --processes ${CPU} --threads ${THREAD} -w nfdi4chem_ms_converter_GUI:app --logto /app/serverlog.log"]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment