mirror of
https://github.com/selfxyz/self.git
synced 2026-04-27 03:01:15 -04:00
21 lines
426 B
Docker
21 lines
426 B
Docker
FROM node:22-slim
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends git openssh-client ca-certificates \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN corepack enable && corepack prepare yarn@stable --activate
|
|
|
|
COPY . .
|
|
|
|
RUN yarn install --immutable
|
|
|
|
ENV OFAC_DATA_DIR=/data/ofac
|
|
VOLUME ["/data"]
|
|
|
|
RUN chmod +x common/scripts/ofac/entrypoint.sh
|
|
|
|
ENTRYPOINT ["/app/common/scripts/ofac/entrypoint.sh"]
|