Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
workspaces
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
ssa
workspaces
Merge requests
!68
Sws 21 add frontend to local env
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Sws 21 add frontend to local env
SWS-21-add-frontend-to-local-env
into
main
Overview
5
Commits
3
Pipelines
3
Changes
3
1 unresolved thread
Hide all comments
Merged
Andrew Kapuscinski
requested to merge
SWS-21-add-frontend-to-local-env
into
main
4 years ago
Overview
5
Commits
3
Pipelines
3
Changes
2
1 unresolved thread
Hide all comments
Expand
Added frontend service to run with local docker environment
Edited
4 years ago
by
Andrew Kapuscinski
0
0
Merge request reports
Compare
version 1
version 2
2f04b519
4 years ago
version 1
a1a062a0
4 years ago
main (base)
and
latest version
latest version
59581639
3 commits,
4 years ago
version 2
2f04b519
2 commits,
4 years ago
version 1
a1a062a0
1 commit,
4 years ago
Show latest version
2 files
+
5
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
apps/web/Dockerfile.local
+
5
−
0
Options
FROM node:14.15.1-alpine3.12
# set container working directory to /code
WORKDIR /code/
# copy web app from host to container
COPY ./apps/web ./
# install dependencies
RUN apk add --no-cache \
git \
python2 \
g++ \
make
# install node_modules
RUN npm install
# start Angular development server
CMD [ "./node_modules/.bin/ng", "serve", "--host", "0.0.0.0" ]
\ No newline at end of file
Loading