mirror of
https://github.com/Cameri/nostream.git
synced 2025-04-21 22:14:54 +02:00
feat: add integration tests Dockerfile
This commit is contained in:
parent
5c34ae5fca
commit
6d7bb7a7b9
@ -10,7 +10,7 @@ COPY . .
|
||||
|
||||
RUN npm run build
|
||||
|
||||
FROM node:18-alpine3.15
|
||||
FROM node:18-alpine3.16
|
||||
|
||||
LABEL org.opencontainers.image.title="Nostr Typescript Relay"
|
||||
LABEL org.opencontainers.image.source=https://github.com/Cameri/nostr-ts-relay
|
||||
|
17
Dockerfile.test
Normal file
17
Dockerfile.test
Normal file
@ -0,0 +1,17 @@
|
||||
FROM node:18-alpine3.16
|
||||
|
||||
ENV DB_HOST=db-test
|
||||
ENV DB_PORT=5432
|
||||
ENV DB_NAME=postgres
|
||||
ENV DB_USER=postgres
|
||||
ENV DB_PASSWORD=postgres
|
||||
ENV DB_MIN_POOL_SIZE=1
|
||||
ENV DB_MAX_POOL_SIZE=2
|
||||
|
||||
WORKDIR /code
|
||||
|
||||
COPY ["package.json", "package-lock.json", "cucumber.js", "tsconfig.json", "knexfile.js", "./"]
|
||||
|
||||
RUN npm install --quiet
|
||||
|
||||
CMD ["true"]
|
Loading…
x
Reference in New Issue
Block a user