Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
jaguililla committed Jun 16, 2024
1 parent e3a4c1a commit 5037f42
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
depends_on: [ mongodb ]
image: ${REGISTRY:-}todo
build:
dockerfile: Dockerfile
dockerfile: native.dockerfile
environment:
GLOBAL_LOG_LEVEL: warn
APPLICATION_LOG_LEVEL: info
Expand Down
File renamed without changes.
13 changes: 13 additions & 0 deletions native.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

FROM ubuntu:jammy

# Project setup
ARG PROJECT

VOLUME /var/log

# Project install
USER 1000
ADD --chown=1000:1000 build/native/nativeCompile/$PROJECT /
WORKDIR /
ENTRYPOINT [ "/todo_backend" ]
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Community
#Args=-R:MaxHeapSize=16 -march=native
#Args=-R:MaxHeapSize=32 -march=native
# Oracle
Args=-march=native --gc=G1 --enable-sbom
Args=--gc=G1 --enable-sbom

0 comments on commit 5037f42

Please sign in to comment.