holmes: docker edition
This commit is contained in:
parent
c2b8b386ce
commit
c0826f2396
13
Dockerfile
13
Dockerfile
|
@ -9,4 +9,17 @@ RUN yarn build
|
||||||
FROM node:18 as run
|
FROM node:18 as run
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=build /build/app/ /app/
|
COPY --from=build /build/app/ /app/
|
||||||
|
|
||||||
|
# Set up python
|
||||||
|
RUN apt-get update
|
||||||
|
RUN apt-get install -y pip
|
||||||
|
|
||||||
|
# Clone sherlock
|
||||||
|
RUN git clone https://github.com/sherlock-project/sherlock.git /app/sherlock
|
||||||
|
WORKDIR /app/sherlock
|
||||||
|
RUN python3 -m pip install -r requirements.txt
|
||||||
|
ENV SHERLOCK_COMMAND "python3 /app/sherlock/sherlock"
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
CMD ["node", "--experimental-specifier-resolution=node", "dist"]
|
CMD ["node", "--experimental-specifier-resolution=node", "dist"]
|
||||||
|
|
Loading…
Reference in a new issue