* 2919: rewrite for update to apollo 4 (#131) * rewrite for update to apollo 4 * removed container tests, edited make to publish any branch to staging * revert makefile * cleanup * update 1 * more fixes to get it working on aws * enabled csrf prevention protection, testing if build works * switched to express version * changed the healthcheck url * added cache to restdatasources * 3011: create a login mutation on graphql server that responds with a access token (#133) * 3011 added login rest endpoint and general scope fixes * changed login auth to basic auth username and password * minor changes from CR feedback * force update * added tighter timeout for idle knex connection * Refactor authentication and scopes (#134) * big refactor of scopes in graphql * cr fixes * some security fixes (#135) * some security fixes * cleanup * update staging * minor readme change
13 lines
460 B
Plaintext
13 lines
460 B
Plaintext
# Uses the node base image with the latest LTS version
|
|
FROM node:16.13.0
|
|
# Informs Docker that the container listens on the
|
|
# specified network ports at runtime
|
|
EXPOSE 4000
|
|
# Changes working directory to the new directory just created
|
|
WORKDIR /app
|
|
# Set node env
|
|
ENV NODE_ENV=development
|
|
ENV NEW_RELIC_NO_CONFIG_FILE=true
|
|
# Command container will actually run when called
|
|
CMD ["npx", "nodemon", "-w", "src", "--ext", "ts", "--exec", "ts-node", "src/index.ts"]
|