File size: 358 Bytes
9f5df03
c8fa1c0
 
 
 
6139289
 
c8fa1c0
 
 
0940906
6139289
 
 
 
0940906
c8fa1c0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM shiwuliya/meme-generator:main

RUN useradd -m -u 1000 user
USER user

WORKDIR /app

RUN curl -sSL https://install.python-poetry.org | python3 -

ENV PATH="${PATH}:/home/user/.local/bin" \
    PORT="7860" 
    
RUN mkdir -p /home/user/.config/meme_generator && \
    chown -R user:user /home/user/.config/meme_generator
RUN poetry install 

EXPOSE $PORT