-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Action Server builds alongside the rest of the aerie core when using gradlew - This will include the Action server as an Aerie core service and launches with the rest of aerie for development and production
- Loading branch information
1 parent
20168aa
commit 2c1a721
Showing
6 changed files
with
107 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM node:22.13.1-bookworm-slim | ||
|
||
# Install jemalloc | ||
RUN apt-get update \ | ||
&& apt-get install --no-install-recommends -y libjemalloc-dev | ||
|
||
# Set the path for jemalloc | ||
RUN echo "/usr/lib/$(uname -m)-linux-gnu/libjemalloc.so" >> /etc/ld.so.preload | ||
|
||
# Set working directory | ||
COPY . /app | ||
WORKDIR /app | ||
CMD [ "npm", "start" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM node:22.13.1-bookworm-slim | ||
|
||
# Install jemalloc | ||
RUN apt-get update \ | ||
&& apt-get install --no-install-recommends -y libjemalloc-dev | ||
|
||
# Set the path for jemalloc | ||
RUN echo "/usr/lib/$(uname -m)-linux-gnu/libjemalloc.so" >> /etc/ld.so.preload | ||
|
||
# Set working directory | ||
COPY . /app | ||
WORKDIR /app | ||
CMD [ "npm", "dev" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
plugins { | ||
id 'com.github.node-gradle.node' version '5.0.0' | ||
} | ||
|
||
node { | ||
version = '22.13.1' | ||
download = true | ||
} | ||
|
||
task assemble(type: NpmTask) { | ||
dependsOn npmInstall | ||
args = ['--silent', 'run', 'build'] | ||
} | ||
|
||
task build { | ||
dependsOn assemble | ||
} | ||
|
||
task clean(type: Delete) { | ||
delete 'build' | ||
} | ||
|
||
task e2eTest(type: NpmTask) { | ||
dependsOn npmInstall | ||
args = ['--silent', 'run', 'test'] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters