Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
ARG DATABASE_HOST=localhost DATABASE_PORT=27017 DATABASE_NAME=top-contributors HOST=localhost PORT=8080 NODE_ENV=dev USER=node TLS_ENABLED=true CA_PATH='/certificates/do-mongodb-ca-certificate.crt'
ARG NODE_VERSION=24 DATABASE_HOST=localhost DATABASE_PORT=27017 DATABASE_NAME=top-contributors HOST=localhost PORT=8080 NODE_ENV=dev USER=node TLS_ENABLED=true CA_PATH='/certificates/do-mongodb-ca-certificate.crt'

###########
# BUILDER #
###########
FROM node:16-alpine3.14 AS builder
FROM node:${NODE_VERSION}-alpine AS builder

# pass the global args
ARG DATABASE_HOST
Expand All @@ -27,7 +27,7 @@ RUN npm install
###########
# PROJECT #
###########
FROM node:16-slim
FROM node:${NODE_VERSION}-slim

# pass the global args
ARG DATABASE_HOST
Expand Down
Loading