Aligner / Dockerfile
Yakova's picture
Create Dockerfile
c3af6ec verified
raw
history blame
321 Bytes
# Builder stage
FROM mbonea/forced-aligner
# Create a non-root user
RUN useradd -ms /bin/bash admin
# Set the working directory
WORKDIR /srv
RUN chown -R admin:admin /srv
RUN chmod 755 /srv
USER admin
CMD python -m uvicorn NeMo-Forced-Aligner.web:app --workers 4 --host 0.0.0.0 --port 7860
# Expose port
EXPOSE 7860