Last active
July 4, 2019 07:49
-
-
Save electric380v/91c96e9bc9dded054eb1977aaff65669 to your computer and use it in GitHub Desktop.
dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:latest as builder | |
ENV APP_HOST=0.0.0.0 | |
ENV APP_PORT=3001 | |
ENV APP_HOME /app | |
WORKDIR /app | |
COPY . . | |
ARG user=places-proxy | |
ARG group=places-proxy | |
ARG uid=11111 | |
ARG gid=22222 | |
RUN yarn && \ | |
yarn install && \ | |
yarn build | |
EXPOSE "$APP_PORT" | |
CMD [ "yarn", "start"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment