Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FE Candidate test
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Designeo
FE Candidate test
Commits
93397e22
Commit
93397e22
authored
3 years ago
by
Michal Kolář
Browse files
Options
Downloads
Patches
Plain Diff
ci fix
parent
96574f86
No related branches found
Branches containing commit
Tags
1.0.1
Tags containing commit
No related merge requests found
Pipeline
#65436
failed with stages
in 1 minute and 42 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ci/compose/Dockerfile
+1
-1
1 addition, 1 deletion
ci/compose/Dockerfile
package.json
+6
-1
6 additions, 1 deletion
package.json
with
7 additions
and
2 deletions
ci/compose/Dockerfile
+
1
−
1
View file @
93397e22
...
...
@@ -5,7 +5,7 @@ WORKDIR /srv
COPY
. /srv
RUN
npm
install
-g
npm@latest
&&
npm cache clean
--force
RUN
npm uninstall
-g
typescript tsc
&&
npm
install
-g
typescript tsc
RUN
cd
/srv
&&
npm
install
&&
npm run build
RUN
cd
/srv
&&
npm
install
&&
npm run
local
:
build
FROM
node:14.16.1-alpine3.13
...
...
This diff is collapsed.
Click to expand it.
package.json
+
6
−
1
View file @
93397e22
...
...
@@ -7,7 +7,12 @@
"start"
:
"docker-compose exec -e MODE=production service node src"
,
"clean"
:
"docker-compose exec service npx tsc --build --clean"
,
"build"
:
"docker-compose exec service npx tsc"
,
"typeorm"
:
"docker-compose exec service node --require ts-node/register ./node_modules/typeorm/cli.js"
"typeorm"
:
"docker-compose exec service node --require ts-node/register ./node_modules/typeorm/cli.js"
,
"local:dev"
:
"npx ts-node-dev -T -I '[]' src"
,
"local:start"
:
"node src"
,
"local:clean"
:
"tsc --build --clean"
,
"local:build"
:
"MODE=production tsc"
,
"local:typeorm"
:
"node --require ts-node/register ./node_modules/typeorm/cli.js"
},
"repository"
:
{
"type"
:
"git"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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