-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Expand file tree
/
Copy pathDockerfile
More file actions
18 lines (17 loc) · 696 Bytes
/
Copy pathDockerfile
File metadata and controls
18 lines (17 loc) · 696 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM node:26-alpine
WORKDIR /app
LABEL org.opencontainers.image.title="InvisiProxy LTS" \
org.opencontainers.image.description="An effective, privacy-focused web proxy service" \
org.opencontainers.image.version="7.0.0" \
org.opencontainers.image.authors="InvisiProxy Team" \
org.opencontainers.image.source="https://github.com/QuiteAFancyEmerald/InvisiProxy/"
RUN apk add --no-cache tor bash python3 py3-pip make g++ gcc libc-dev gcompat
RUN npm install -g corepack
RUN corepack enable && corepack prepare pnpm@latest --activate
COPY . .
RUN pnpm run fresh-install
RUN pnpm run build
EXPOSE 8080 9050 9051
COPY serve.sh /serve.sh
RUN chmod +x /serve.sh
CMD ["/serve.sh"]