-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐳 Adds Docker Container Configuration (#265)
This PR adds a docker configuration for the DDVis project. Our webserver app has been broken one too many times by now. This creates an isolated container that we can also test during CI. This should simplify our lives considerably.
- Loading branch information
1 parent
d33be51
commit a5336b0
Showing
6 changed files
with
34 additions
and
8 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 |
---|---|---|
|
@@ -25,5 +25,6 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: pipx install ninja | ||
- run: npm ci | ||
- run: npm run build --if-present |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Use an official Node.js runtime as the base image | ||
FROM node:20-alpine | ||
|
||
# Add gcc and cmake | ||
RUN apk add build-base cmake ninja | ||
|
||
# Set the working directory in the container to /app | ||
WORKDIR /app | ||
|
||
# Copy package.json and package-lock.json into the directory /app in the container | ||
COPY package*.json ./ | ||
|
||
# Install any needed packages specified in package.json | ||
RUN npm install | ||
|
||
# Copy the rest of the application code into the container | ||
COPY . . | ||
|
||
# Install the project | ||
RUN npm run build | ||
|
||
# Make port 3000 available to the outside world | ||
EXPOSE 3000 | ||
|
||
# Define the command to run the application | ||
CMD [ "npm", "run", "run" ] |
Submodule mqt-core
updated
3 files
+16 −0 | cmake/PackageAddTest.cmake | |
+45 −0 | include/mqt-core/datastructures/SymmetricMatrix.hpp | |
+48 −0 | test/datastructures/test_symmetric_matrix.cpp |
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