1 Commits
1.0.3 ... 1.0.4

Author SHA1 Message Date
73ac3d2dc6 Trying this... 2023-05-25 12:33:21 -04:00
4 changed files with 7 additions and 6 deletions

View File

@@ -1,12 +1,13 @@
ARG ENV=production ARG ENV=production
ARG MONGO_VERSION=latest ARG MONGO_VERSION
ARG PORT=9001 ARG PORT=9001
ARG NPM_TOKEN=not_set ARG NPM_TOKEN
ARG YARN_VERSION=3.5.0 ARG YARN_VERSION=3.5.0
## mongo build stage ## mongo build stage
FROM mongo:$MONGO_VERSION AS database FROM mongo:${MONGO_VERSION:-latest} AS database
COPY docker-entrypoint-initdb.d/mongo-init-$MONGO_VERSION.sh ./docker-entrypoint-initdb.d/mongo-init.sh ENV NODE_ENV $ENV
COPY docker-entrypoint-initdb.d/mongo-init-${MONGO_VERSION:-latest}.sh ./docker-entrypoint-initdb.d/mongo-init.sh
## stage one, build the service ## stage one, build the service
FROM node:20-bullseye-slim AS build FROM node:20-bullseye-slim AS build

View File

@@ -8,7 +8,7 @@ services:
context: . context: .
target: database target: database
args: args:
MONGO_VERSION: 6.0.5 MONGO_VERSION: latest
ports: ports:
- 27017:27017 - 27017:27017
networks: networks:

View File

@@ -1,6 +1,6 @@
{ {
"name": "@mifi/auth-service", "name": "@mifi/auth-service",
"version": "1.0.3", "version": "1.0.4",
"author": "mifi (Mike Fitzpatrick)", "author": "mifi (Mike Fitzpatrick)",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {