Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
v0ctor committed Jul 6, 2019
2 parents 86369ca + e0c6dab commit 9a2eee4
Show file tree
Hide file tree
Showing 27 changed files with 1,717 additions and 70 deletions.
6 changes: 3 additions & 3 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ trigger:

steps:
- name: build
image: docker:18.09.6
image: docker:18.09.7
environment:
DOCKER_HOST: tcp://docker.avptp.org:2376
DOCKER_CA:
Expand Down Expand Up @@ -39,7 +39,7 @@ steps:
- docker push $IMAGE

- name: pre-deploy
image: lachlanevenson/k8s-helm:v2.13.1
image: lachlanevenson/k8s-helm:v2.14.1
environment:
REGISTRY_HOST: registry.avptp.org
REGISTRY_CONFIG:
Expand All @@ -56,7 +56,7 @@ steps:
> spec.yaml
- name: deploy
image: lachlanevenson/k8s-kubectl:v1.14.1
image: lachlanevenson/k8s-kubectl:v1.15.0
environment:
KUBERNETES_CONFIG:
from_secret: kubernetes
Expand Down
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ ENV PATH="${PATH}:/app/node_modules/.bin"

ARG USER_ID=1000

RUN apk add --no-cache \
bash \
&& if [ $USER_ID -ne 1000 ]; then \
RUN if [ $USER_ID -ne 1000 ]; then \
apk add --no-cache -t tmp shadow \
&& groupmod -g $USER_ID node \
&& usermod -u $USER_ID -g $USER_ID node \
Expand All @@ -33,7 +31,7 @@ RUN npm ci \


## Runtime image
FROM nginx:1.17.0-alpine AS runtime
FROM nginx:1.17.1-alpine AS runtime

WORKDIR /app

Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.7"
version: '3.7'

services:

Expand All @@ -12,4 +12,4 @@ services:
volumes:
- .:/app
ports:
- "${WEB_PORT:-80}:3000"
- ${WEB_PORT:-80}:3000
Loading

0 comments on commit 9a2eee4

Please sign in to comment.