Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
ajoulib-phrase
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
화균 김
ajoulib-phrase
Commits
2273f24f
Commit
2273f24f
authored
1 month ago
by
화균 김
Browse files
Options
Downloads
Patches
Plain Diff
feat: update docker
parent
fa4798d8
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+2
-0
2 additions, 0 deletions
.gitignore
Dockerfile
+4
-2
4 additions, 2 deletions
Dockerfile
with
6 additions
and
2 deletions
.gitignore
+
2
−
0
View file @
2273f24f
...
...
@@ -39,3 +39,5 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts
compose.yml
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Dockerfile
+
4
−
2
View file @
2273f24f
# 노드 이미지를 기반으로 Dockerfile 작성
FROM
node:
14-alpin
e
FROM
node:
23.11.0-bullsey
e
# 앱 디렉토리 생성
WORKDIR
/usr/src/app
# package.json 및 package-lock.json을 복사하여 종속성 설치를 위해 추가
COPY
package
*
.json ./
COPY
package.json ./
# 종속성 설치
RUN
npm
install
...
...
@@ -17,4 +17,6 @@ COPY . .
RUN
npm run build
# 앱 실행을 위한 명령어 정의
EXPOSE
3000
CMD
["npm", "start"]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment