-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Matej Voboril <[email protected]>
- Loading branch information
1 parent
2b336cd
commit cd182e3
Showing
5 changed files
with
137 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# nyc spec coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (http://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules | ||
jspm_packages | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# PM2 Config | ||
warframe-status.json | ||
|
||
# Temp file storage | ||
tmp/ | ||
|
||
#nodemon dev config | ||
.nodemon | ||
nodemon.json | ||
.env | ||
|
||
# JetBrains files | ||
.idea/ | ||
.run/ | ||
|
||
# flatcache for the items | ||
.items | ||
.wfinfo | ||
.twitch | ||
.drops | ||
.rivens | ||
.hy-info | ||
|
||
# generated files by precommit hook | ||
.jshintrc | ||
.jshintignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
FROM node:16 as build-stage | ||
FROM node:lts-alpine as build | ||
|
||
WORKDIR /app | ||
COPY package*.json /app/ | ||
COPY package*.json ./ | ||
RUN npm install | ||
|
||
FROM node:lts-alpine as production | ||
|
||
WORKDIR /app | ||
|
||
COPY ./ /app/ | ||
EXPOSE 3001 | ||
COPY --from=build node_modules/ node_modules/ | ||
|
||
ENTRYPOINT npm run start | ||
ENV HOSTNAME=0.0.0.0 | ||
ENV PORT=3001 | ||
|
||
EXPOSE 3001 | ||
ENTRYPOINT npm start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
services: | ||
warframestatus: | ||
image: warframestatus:latest | ||
build: . # you can remove this if you plan to use your own image | ||
# environment: | ||
# - TWITTER_KEY= | ||
# - TWITTER_SECRET= | ||
# - TWITTER_BEARER_TOKEN= | ||
# - WFINFO_FILTERED_ITEMS= | ||
# - WFINFO_PRICES= | ||
# - SENTRY_DSN= | ||
# - BUILD= | ||
# - LOG_LEVEL= | ||
expose: | ||
- 8080:3001 # Host port can be whatever you need it to be |