mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
17 lines
396 B
Docker
17 lines
396 B
Docker
FROM ubuntu:trusty
|
|
ENV LC_ALL C
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
ENV DEBCONF_NONINTERACTIVE_SEEN true
|
|
EXPOSE 3001/udp
|
|
EXPOSE 3000/tcp
|
|
EXPOSE 3003
|
|
|
|
RUN apt-get install -y software-properties-common && add-apt-repository ppa:chris-lea/node.js && apt-get update
|
|
RUN apt-get install -y build-essential curl postgresql-client-9.3 nodejs git
|
|
|
|
COPY . /app
|
|
WORKDIR /app
|
|
RUN npm install
|
|
|
|
CMD npm start
|