Skip to content

Commit

Permalink
feat: add errorMessage to screenshot api
Browse files Browse the repository at this point in the history
  • Loading branch information
junseublim committed Dec 18, 2024
1 parent bd96d6b commit 5978ea0
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
FROM node:20-alpine3.19 as builder

# Update package list and install Chromium
RUN apt-get update && apt-get install -y \
chromium-browser \
--no-install-recommends

# Clean up to reduce image size
RUN apt-get clean && rm -rf /var/lib/apt/lists/*

# Verify installation
RUN chromium-browser --version

WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
EXPOSE 3000
CMD ["npm", "run" , "start"]
CMD ["npm", "run" , "start"]

0 comments on commit 5978ea0

Please sign in to comment.