Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
749187e1
Commit
749187e1
authored
Dec 15, 2023
by
Steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update dockerfile
parent
a9812592
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
frontend-tests.yml
.github/workflows/frontend-tests.yml
+2
-2
Dockerfile
Dockerfile
+1
-1
docker-compose.dev.yaml
docker-compose.dev.yaml
+2
-2
No files found.
.github/workflows/frontend-tests.yml
View file @
749187e1
...
@@ -20,7 +20,7 @@ jobs:
...
@@ -20,7 +20,7 @@ jobs:
version
:
8
version
:
8
-
uses
:
actions/setup-node@v4
-
uses
:
actions/setup-node@v4
with
:
with
:
node-version
:
"
18
"
node-version
:
"
20
"
cache
:
pnpm
cache
:
pnpm
cache-dependency-path
:
"
web/pnpm-lock.yaml"
cache-dependency-path
:
"
web/pnpm-lock.yaml"
-
run
:
pnpm install
-
run
:
pnpm install
...
@@ -40,7 +40,7 @@ jobs:
...
@@ -40,7 +40,7 @@ jobs:
version
:
8
version
:
8
-
uses
:
actions/setup-node@v4
-
uses
:
actions/setup-node@v4
with
:
with
:
node-version
:
"
18
"
node-version
:
"
20
"
cache
:
pnpm
cache
:
pnpm
cache-dependency-path
:
"
web/pnpm-lock.yaml"
cache-dependency-path
:
"
web/pnpm-lock.yaml"
-
run
:
pnpm install
-
run
:
pnpm install
...
...
Dockerfile
View file @
749187e1
# Build frontend dist.
# Build frontend dist.
FROM
node:
18
-alpine AS frontend
FROM
node:
20
-alpine AS frontend
WORKDIR
/frontend-build
WORKDIR
/frontend-build
COPY
. .
COPY
. .
...
...
docker-compose.dev.yaml
View file @
749187e1
...
@@ -15,7 +15,7 @@ services:
...
@@ -15,7 +15,7 @@ services:
-
.air/go-build:/root/.cache/go-build
-
.air/go-build:/root/.cache/go-build
-
$HOME/go/pkg/:/go/pkg/
# Cache for go mod shared with the host
-
$HOME/go/pkg/:/go/pkg/
# Cache for go mod shared with the host
web
:
web
:
image
:
node:
18
-alpine
image
:
node:
20
-alpine
working_dir
:
/work
working_dir
:
/work
depends_on
:
[
"
api"
]
depends_on
:
[
"
api"
]
ports
:
[
"
3001:3001"
]
ports
:
[
"
3001:3001"
]
...
@@ -61,7 +61,7 @@ services:
...
@@ -61,7 +61,7 @@ services:
# run npm
# run npm
npm
:
npm
:
profiles
:
[
"
tools"
]
profiles
:
[
"
tools"
]
image
:
node:
18
-alpine
image
:
node:
20
-alpine
working_dir
:
/work
working_dir
:
/work
environment
:
[
"
NPM_CONFIG_UPDATE_NOTIFIER=false"
]
environment
:
[
"
NPM_CONFIG_UPDATE_NOTIFIER=false"
]
entrypoint
:
"
npm"
entrypoint
:
"
npm"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment