Commit eb940c25 authored by Nikos Pappas's avatar Nikos Pappas
Browse files

5th

parent 1be4421e
FROM python:3.9.6-alpine
FROM python:3.9-alpine
RUN useradd -m registry && echo "registry:registry" | chpasswd && adduser registry sudo
# set environment variables
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
ENV PYTHONDONTWRITEBYTECODE 1
RUN chown -R registry:registry /app/
RUN apk update && \
apk add git curl wget zip
# copy app and set work directory
COPY . .
WORKDIR .
RUN mkdir /app
WORKDIR /app
COPY . /app/
RUN pip install --upgrade pip
RUN pip install -e .
......
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