Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
docker-D-Zone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
JetBrains YouTrack
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Griefed
docker-D-Zone
Commits
b2a296e3
Unverified
Commit
b2a296e3
authored
4 years ago
by
Griefed
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Reverse-Proxy access Dockerfile
parent
2e2f9dd5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile.proxy
+33
-0
33 additions, 0 deletions
Dockerfile.proxy
with
33 additions
and
0 deletions
Dockerfile.proxy
0 → 100644
+
33
−
0
View file @
b2a296e3
FROM lsiobase/alpine:3.12
LABEL maintainer="Griefed <griefed@griefed.de>"
LABEL description="Dockerfile to build an image of D-Zone which is to be accessed with a reverse proxy like NGINX"
# Install dependencies, download app, build app, remove unneeded stuff
RUN \
echo "**** install dependencies and build tools and stuff ****" && \
apk add --no-cache \
git \
npm && \
mkdir -p \
/app/d-zone && \
git clone -b \
heroku \
https://github.com/d-zone-org/d-zone.git \
/app/d-zone && \
echo "**** run npm install and build D-Zone ****" && \
cd /app/d-zone && \
npm install --no-optional && \
npm run-script build && \
echo "**** delete git as we no longer need it ****" && \
apk del --purge \
git && \
rm -rf \
/root/.cache \
/tmp/*
# Copy local files
COPY root/ /
# Communicate port to be used
EXPOSE 3000
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