Skip to content

Commit

Permalink
attempt to fix typesense on render.com
Browse files Browse the repository at this point in the history
  • Loading branch information
mismith committed May 27, 2024
1 parent c1711e2 commit abe0281
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Dockerfile.typesense
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
FROM typesense/typesense:26.0

WORKDIR /app

# Avoid running docker container as root
RUN adduser --system scotdance
RUN chown -R scotdance /app
USER scotdance

# Configure Typesense
ENV TYPESENSE_DATA_DIR=/app/typesense-data
ENV TYPESENSE_ENABLE_CORS=true
# ENV TYPESENSE_API_KEY is stored in Render.com env vars

EXPOSE 8108
EXPOSE 443

0 comments on commit abe0281

Please sign in to comment.