Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
three-tier-project-frontend
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
Muhammad Ebad Sheikh
three-tier-project-frontend
Commits
910fb6fe
Commit
910fb6fe
authored
Mar 10, 2022
by
Muhammad Ebad Sheikh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hopefully final edit
parent
51a39070
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
.dockerignore
.dockerignore
+3
-0
Dockerfile
Dockerfile
+4
-3
No files found.
.dockerignore
0 → 100644
View file @
910fb6fe
**/node_modules
**/npm-debug.log
build
Dockerfile
View file @
910fb6fe
FROM
node:alpine
# pull official base image
FROM
node:17-alpine
# set working directory
# set working directory
WORKDIR
/app
WORKDIR
/app
...
@@ -9,8 +10,8 @@ ENV PATH /app/node_modules/.bin:$PATH
...
@@ -9,8 +10,8 @@ ENV PATH /app/node_modules/.bin:$PATH
# install app dependencies
# install app dependencies
COPY
package.json ./
COPY
package.json ./
COPY
package-lock.json ./
COPY
package-lock.json ./
RUN
npm
install
RUN
npm
install
--silent
RUN
npm
install
react-scripts@3.4.1
-g
RUN
npm
install
react-scripts@3.4.1
-g
--silent
# add app
# add app
COPY
. ./
COPY
. ./
...
...
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