AppFlowy/frontend/appflowy_web_app/Dockerfile

26 lines
322 B
Docker
Raw Normal View History

FROM oven/bun:latest
WORKDIR /app
RUN apt-get update && \
apt-get install -y nginx
2024-06-26 07:23:23 +00:00
RUN bun install cheerio pino pino-pretty
COPY . .
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
COPY dist/ /usr/share/nginx/html/
COPY start.sh /app/start.sh
RUN chmod +x /app/start.sh
2024-06-28 16:06:09 +00:00
EXPOSE 3000
CMD ["/app/start.sh"]