Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ce-deploy-ui
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ccce
dev
ce-deploy-ui
Commits
7b87b317
Commit
7b87b317
authored
1 year ago
by
Anders Lindh Olsson
Browse files
Options
Downloads
Patches
Plain Diff
Add dockerignore file and remove docker rm
parent
47ed4a96
No related branches found
No related tags found
3 merge requests
!446
Merge main into develop
,
!445
Draft: Main into develop
,
!436
Cypress/CI improvements
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.dockerignore
+1
-0
1 addition, 0 deletions
.dockerignore
Dockerfile
+1
-3
1 addition, 3 deletions
Dockerfile
with
2 additions
and
3 deletions
.dockerignore
0 → 100644
+
1
−
0
View file @
7b87b317
node_modules
This diff is collapsed.
Click to expand it.
Dockerfile
+
1
−
3
View file @
7b87b317
# build
CE
deploy & monitor
F
rontend
# build deploy & monitor
f
rontend
FROM
node:16.14.0
as
builder
FROM
node:16.14.0
as
builder
ARG
REACT_APP_MUI_PRO_LICENSE_KEY
ARG
REACT_APP_MUI_PRO_LICENSE_KEY
RUN
mkdir
/usr/src/app
RUN
mkdir
/usr/src/app
WORKDIR
/usr/src/app
WORKDIR
/usr/src/app
ENV
PATH /usr/src/app/node_modules/.bin:$PATH
ENV
PATH /usr/src/app/node_modules/.bin:$PATH
COPY
. /usr/src/app
COPY
. /usr/src/app
#Remove node-cache if building from local env that compiled project previously natively
RUN
rm
-rf
/usr/src/app/node_modules
RUN
npm ci
RUN
npm ci
ENV
PUBLIC_URL "/"
ENV
PUBLIC_URL "/"
...
...
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