Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
api-gateway
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ww-easier-data-access
api-gateway
Commits
1b74100b
Commit
1b74100b
authored
1 month ago
by
Siddhant Tibrewal
Browse files
Options
Downloads
Patches
Plain Diff
fixed docker files
parent
0e6ffb08
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker-compose.yaml
+2
-0
2 additions, 0 deletions
docker-compose.yaml
server/Dockerfile
+2
-1
2 additions, 1 deletion
server/Dockerfile
with
4 additions
and
1 deletion
docker-compose.yaml
+
2
−
0
View file @
1b74100b
...
@@ -14,6 +14,8 @@ services:
...
@@ -14,6 +14,8 @@ services:
esm_api_gateway
:
esm_api_gateway
:
build
:
./server/
build
:
./server/
env_file
:
-
./server/.env
container_name
:
esm_api_gateway
container_name
:
esm_api_gateway
networks
:
networks
:
-
esm_data
-
esm_data
...
...
This diff is collapsed.
Click to expand it.
server/Dockerfile
+
2
−
1
View file @
1b74100b
FROM
node:23-alpine
FROM
node:23-alpine
WORKDIR
/usr/src/ap
p
WORKDIR
/usr/src/
esm_
ap
i
COPY
package*.json ./
COPY
package*.json ./
RUN
npm ci
--only
=
production
RUN
npm ci
--only
=
production
COPY
src ./src
COPY
src ./src
COPY
index.js ./index.js
EXPOSE
3000
EXPOSE
3000
CMD
[ "node", "index.js" ]
CMD
[ "node", "index.js" ]
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