You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 lines
433 B

FROM python:3.14.0a3-alpine3.20
# Add application sources with correct permissions for OpenShift
USER 0
ADD . .
#RUN chown -R 1001:0 ./
#USER 1001
# Install the dependencies
RUN apk add sqlite
RUN pip install -U "pip>=19.3.1" && \
pip install -r requirements.txt && \
# python manage.py collectstatic --noinput && \
python manage.py migrate
EXPOSE 8080
# Run the application
CMD python manage.py runserver 0.0.0.0:8080