File size: 320 Bytes
a75d2ea
a23a664
7572702
 
 
 
 
 
 
08ec9ef
7572702
 
a23a664
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM quay.io/natlibfi/annif:1.1

# Set up a new user named "user" with user ID 1000
USER root
RUN useradd -m -u 1000 user

# Switch to the "user" user
USER user

COPY --chown=user:user projects.d projects.d
COPY --chown=user:user data/vocabs data/vocabs

CMD ["gunicorn", "annif:create_app()", "--bind", "0.0.0.0:7860"]