Re-enabled client compile. Created Dockerfile for postgres_node.

pull/14/head
Sander Vocke 5 years ago
parent d28d94c7c8
commit 0d400bedd7
  1. 35
      .drone.yml
  2. 8
      ci/postgres_node/Dockerfile

@ -15,21 +15,20 @@ steps:
- cd server && npm test; cd ..
#kind: pipeline
#type: kubernetes
#name: front-end
#
#steps:
#- name: install dependencies
# image: node
# commands:
# - npm install
# - cd client && npm install; cd ..
#
#- name: front-end build
# image: node
# commands:
# - cd client && npm run-script build; cd ..
#
#---
#
kind: pipeline
type: kubernetes
name: front-end
steps:
- name: install dependencies
image: node
commands:
- npm install
- cd client && npm install; cd ..
- name: front-end compile
image: node
commands:
- cd client && ./node_modules/.bin/tsc; cd ..
---

@ -0,0 +1,8 @@
# Note: this Dockerfile is written to be executed with the whole source
# as its context.
FROM postgres:12
# Install node.js
RUN apt update -y && apt install -y npm
Loading…
Cancel
Save