fe / Dockerfile
3v324v23's picture
up
5445d68
FROM nginx:alpine
# Remove the default site config to avoid conflicts
RUN rm -f /etc/nginx/conf.d/default.conf
# Use our nginx config and template for envsubst (HF_API_TOKEN)
COPY nginx.conf /etc/nginx/nginx.conf
COPY default.conf.template /etc/nginx/templates/default.conf.template
# Static assets
COPY . /usr/share/nginx/html
EXPOSE 7860