d.quantile / Dockerfile
WLenhard's picture
Update Dockerfile
3267b56 verified
raw
history blame contribute delete
278 Bytes
FROM rstudio/plumber:latest
# Set working directory
WORKDIR /app
# Copy application files
COPY app.R /app/
# Expose port
EXPOSE 7860
# Override entrypoint to set custom port
ENTRYPOINT ["R", "-e"]
CMD ["pr <- plumber::plumb('/app/app.R'); pr$run(host='0.0.0.0', port=7860)"]