P5-7141: basic tests (#1)

* added containers for db and apollo

* connected to test db

* added network again

* Added base for tests
This commit is contained in:
Arwid Thornström
2021-06-17 11:04:22 +02:00
committed by GitHub
parent b9b6abbec5
commit 74796e23a8
26 changed files with 22059 additions and 1776 deletions
+12
View File
@@ -0,0 +1,12 @@
# Uses the node base image with the latest LTS version
FROM node:14.16.0
# Informs Docker that the container listens on the
# specified network ports at runtime
EXPOSE 4000
COPY . app/
# Changes working directory to the new directory just created
WORKDIR /app
# Installs npm dependencies on container
RUN npm ci
# Command container will actually run when called
CMD ["npm", "start"]