nailed it

This commit is contained in:
cottongin
2025-11-02 16:04:03 -05:00
parent 1cad3cb47f
commit f764519a30
4 changed files with 144 additions and 382 deletions

View File

@@ -3,8 +3,20 @@ FROM golang:1.23-alpine
WORKDIR /app
# Install only essential dependencies
RUN apk add --no-cache ca-certificates
# Install essential dependencies and Chromium for authentication
# Chromium is needed for email/password authentication via browser automation
RUN apk add --no-cache \
ca-certificates \
chromium \
chromium-chromedriver \
nss \
freetype \
harfbuzz \
ttf-freefont
# Set environment variables for Chromium
ENV CHROME_BIN=/usr/bin/chromium-browser \
CHROME_PATH=/usr/lib/chromium/
# Copy go mod files
COPY go.mod go.sum ./