Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aligning develop to main #31

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Include any files or directories that you don't want to be copied to your
# container here (e.g., local build artifacts, temporary files, etc.).
#
# For more help, visit the .dockerignore file reference guide at
# https://docs.docker.com/engine/reference/builder/#dockerignore-file

**/.classpath
**/.dockerignore
**/.env
**/.git
**/.gitignore
**/.project
**/.settings
**/.toolstarget
**/.vs
**/.vscode
**/.next
**/.cache
**/*.*proj.user
**/*.dbmdl
**/*.jfm
**/charts
**/docker-compose*
**/compose*
**/Dockerfile*
**/node_modules
**/npm-debug.log
**/obj
**/secrets.dev.yaml
**/values.dev.yaml
**/build
**/dist
LICENSE
README.md
34 changes: 34 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Docker Image CI

on:
release:
types: [published]

jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4

- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: loideunical/loide:api
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64
push: true
tags: loideunical/loide:api


8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM node:20-alpine
WORKDIR /app
COPY . .

RUN npm install

CMD npm start

30 changes: 15 additions & 15 deletions config/services.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
{
"protocol": "ws",
"url": "localhost",
"name": "EmbASPServerExecutor",
"value": "embAspServerExecutor",
"path": "/EmbASPServerExecutor/home",
"port": 8080
"name": "PythonESE",
"value": "PythonESE",
"path": "/",
"port": 1443
}
],
"options": [
Expand All @@ -33,10 +33,10 @@
{
"protocol": "ws",
"url": "localhost",
"name": "EmbASPServerExecutor",
"value": "embAspServerExecutor",
"path": "/EmbASPServerExecutor/home",
"port": 8080
"name": "PythonESE",
"value": "PythonESE",
"path": "/",
"port": 1443
}
],
"options": [
Expand All @@ -55,10 +55,10 @@
{
"protocol": "ws",
"url": "localhost",
"name": "EmbASPServerExecutor",
"value": "embAspServerExecutor",
"path": "/EmbASPServerExecutor/home",
"port": 8080
"name": "PythonESE",
"value": "PythonESE",
"path": "/",
"port": 1443
}
],
"options": [
Expand All @@ -72,19 +72,19 @@
"name": "Filter",
"value": "-filter=",
"word_argument": true,
"description": "Missing description"
"description": "Output only instances of the specified predicate(s)."
},
{
"name": "No Facts",
"value": "-nofacts",
"word_argument": false,
"description": "Missing description"
"description": "Don't include facts as part of the output."
},
{
"name": "Silent",
"value": "-silent",
"word_argument": false,
"description": "Missing description"
"description": "Suppress the startup banner and blank lines."
},
{
"name": "Query",
Expand Down
Loading