website/Dockerfile.dev
2020-02-19 17:16:28 -08:00

10 lines
329 B
Docker

# Using the current version of Node and Alpine
FROM node:current-alpine
# This should be mounted with docker run command
WORKDIR /src
# Install deps and run the development server
ENV PATH="/node_modules/.bin:${PATH}"
ENTRYPOINT cd /src && yarn --modules-folder /node_modules install && yarn --modules-folder /node_modules dev