Commit 69446430 authored by Mike Shoup's avatar Mike Shoup

Refactor Dockerfile, use alpine

parent 68d438c8
FROM node
FROM node:9-alpine
WORKDIR /usr/src/app
COPY helloapi/package*.json ./
COPY package*.json ./
RUN npm install
COPY helloapi/ ./
COPY . ./
EXPOSE 8000
RUN adduser -D -H appuser
EXPOSE 8000
USER appuser
CMD ["npm", "start"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment