File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,11 @@ RUN apt-get update \
10
10
&& apt-get install -y --no-install-recommends openrc \
11
11
&& apt-get install -y --no-install-recommends build-essential
12
12
13
+ # Install Node.js and NPM
14
+ RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
15
+ && apt-get install -y --no-install-recommends nodejs \
16
+ && npm install -g npm@latest
17
+
13
18
# Clean up
14
19
RUN apt-get clean \
15
20
&& rm -rf /var/lib/apt/lists/*
@@ -33,13 +38,17 @@ RUN find . -type d -name "__pycache__" -exec rm -r {} + && \
33
38
# Copy the wait-for-db.sh script and set execution permissions
34
39
COPY --chmod=0755 scripts/wait-for-db.sh ./scripts/
35
40
41
+ # Create the .moduleignore file with the module 'webhook' inside
42
+ RUN echo "webhook" > /app/.moduleignore
43
+
36
44
# Update pip
37
45
RUN pip install --no-cache-dir --upgrade pip
38
46
39
47
# Install any needed packages specified in requirements.txt
40
48
RUN pip install -r requirements.txt
41
49
42
50
# Install Rosemary
51
+ COPY setup.py .
43
52
RUN pip install -e ./
44
53
45
54
# Install npm dependencies
Original file line number Diff line number Diff line change @@ -10,6 +10,11 @@ RUN apt-get update \
10
10
&& apt-get install -y --no-install-recommends openrc \
11
11
&& apt-get install -y --no-install-recommends build-essential
12
12
13
+ # Install Node.js and NPM
14
+ RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
15
+ && apt-get install -y --no-install-recommends nodejs \
16
+ && npm install -g npm@latest
17
+
13
18
# Clean up
14
19
RUN apt-get clean \
15
20
&& rm -rf /var/lib/apt/lists/*
You can’t perform that action at this time.
0 commit comments