Dockerfile: add dependency on nodejs 10 (#168)

This commit is contained in:
gabriel klawitter
2019-08-07 14:29:31 +02:00
committed by TriplEight
parent 72806ff282
commit 0250fde939
+6 -5
View File
@@ -1,15 +1,16 @@
FROM node:alpine
FROM node:10-alpine
WORKDIR /app
RUN apk update && apk add python g++ make openssh git bash pdftk
RUN export PYTHONPATH=${PYTHONPATH}:/usr/lib/python2.7
RUN apk add --no-cache python make g++
COPY ./package.json yarn.lock ./
COPY ./scripts ./scripts
COPY ./backend ./backend
COPY ./packages ./packages
COPY ./package.json ./yarn.lock ./tsconfig.json ./
RUN yarn
COPY . .
# Frontend is exposing 3000
# Backend is exposing 8080